소스 검색

[Locale] fixed method signature, removed default value for the $locale arg

Eriksen Costa 14 년 전
부모
커밋
bc52107d07
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Symfony/Component/Locale/Stub/StubLocale.php

+ 1 - 1
src/Symfony/Component/Locale/Stub/StubLocale.php

@@ -73,7 +73,7 @@ class StubLocale
      * @return array                     The country names with their codes as keys
      * @throws InvalidArgumentException  When the locale is different than 'en'
      */
-    static public function getDisplayCountries($locale = 'en')
+    static public function getDisplayCountries($locale)
     {
         return self::getStubData($locale, 'countries', 'region');
     }