https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113966
Revision: 113966
Author: jeroendedauw
Date: 2012-03-15 22:40:27 +0000 (Thu, 15 Mar 2012)
Log Message:
-----------
docs++
Modified Paths:
--------------
trunk/phase3/includes/GlobalFunctions.php
Modified: trunk/phase3/includes/GlobalFunctions.php
===================================================================
--- trunk/phase3/includes/GlobalFunctions.php 2012-03-15 22:15:44 UTC (rev
113965)
+++ trunk/phase3/includes/GlobalFunctions.php 2012-03-15 22:40:27 UTC (rev
113966)
@@ -221,7 +221,7 @@
* @param $after Mixed: The key to insert after
* @return Array
*/
-function wfArrayInsertAfter( $array, $insert, $after ) {
+function wfArrayInsertAfter( array $array, array $insert, $after ) {
// Find the offset of the element to insert after.
$keys = array_keys( $array );
$offsetByKey = array_flip( $keys );
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs