r113966 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r113965‎ | r113966 | r113967 >
Date:22:40, 15 March 2012
Author:jeroendedauw
Status:ok
Tags:
Comment:
docs++
Modified paths:
  • /trunk/phase3/includes/GlobalFunctions.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/GlobalFunctions.php
@@ -221,7 +221,7 @@
222222 * @param $after Mixed: The key to insert after
223223 * @return Array
224224 */
225 -function wfArrayInsertAfter( $array, $insert, $after ) {
 225+function wfArrayInsertAfter( array $array, array $insert, $after ) {
226226 // Find the offset of the element to insert after.
227227 $keys = array_keys( $array );
228228 $offsetByKey = array_flip( $keys );

Sign-offs

UserFlagDate
Nikerabbitinspected11:29, 16 March 2012

Status & tagging log