Merge "Revert "Apply IP blocks to X-Forwarded-For header""
[lhc/web/wiklou.git] / tests / phpunit / languages / LanguageSmaTest.php
index 3503461..5819831 100644 (file)
@@ -18,8 +18,8 @@ class LanguageSmaTest extends LanguageClassesTestCase {
                $this->assertEquals( $result, $this->getLang()->getPluralRuleType( $value ) );
        }
 
-       function providePlural() {
-               return array (
+       public static function providePlural() {
+               return array(
                        array( 'other', 0 ),
                        array( 'one', 1 ),
                        array( 'two', 2 ),
@@ -33,8 +33,8 @@ class LanguageSmaTest extends LanguageClassesTestCase {
                $this->assertEquals( $result, $this->getLang()->convertPlural( $value, $forms ) );
        }
 
-       function providerPluralTwoForms() {
-               return array (
+       public static function providerPluralTwoForms() {
+               return array(
                        array( 'other', 0 ),
                        array( 'one', 1 ),
                        array( 'other', 2 ),