docs++
authorJeroen De Dauw <jeroendedauw@users.mediawiki.org>
Thu, 15 Mar 2012 22:40:27 +0000 (22:40 +0000)
committerJeroen De Dauw <jeroendedauw@users.mediawiki.org>
Thu, 15 Mar 2012 22:40:27 +0000 (22:40 +0000)
includes/GlobalFunctions.php

index 2aebd61..0a48c23 100644 (file)
@@ -221,7 +221,7 @@ function wfMergeErrorArrays( /*...*/ ) {
  * @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 );