r28775 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r28774‎ | r28775 | r28776 >
Date:12:41, 22 December 2007
Author:nikerabbit
Status:old
Tags:
Comment:
* Array as type hint is available only PHP 5.1 or later
Modified paths:
  • /trunk/phase3/languages/Language.php (modified) (history)

Diff [purge]

Index: trunk/phase3/languages/Language.php
@@ -1808,7 +1808,7 @@
18091809 * @param array $forms Array of forms given to convertPlural
18101810 * @return array Padded array of forms or an exception if not an array
18111811 */
1812 - protected function preConvertPlural( Array $forms, $count ) {
 1812+ protected function preConvertPlural( /* Array */ $forms, $count ) {
18131813 while ( count($forms) < $count ) {
18141814 $forms[] = $forms[count($forms)-1];
18151815 }

Status & tagging log