* Array as type hint is available only PHP 5.1 or later
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Sat, 22 Dec 2007 12:41:42 +0000 (12:41 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Sat, 22 Dec 2007 12:41:42 +0000 (12:41 +0000)
languages/Language.php

index 94ae926..6caee42 100644 (file)
@@ -1808,7 +1808,7 @@ class Language {
         * @param array $forms Array of forms given to convertPlural
         * @return array Padded array of forms or an exception if not an array
         */
-       protected function preConvertPlural( Array $forms, $count ) {
+       protected function preConvertPlural( /* Array */ $forms, $count ) {
                while ( count($forms) < $count ) {
                        $forms[] = $forms[count($forms)-1];
                }