From: Jeroen De Dauw Date: Thu, 15 Mar 2012 22:40:27 +0000 (+0000) Subject: docs++ X-Git-Tag: 1.31.0-rc.0~24234 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=4febcf9cc188580ad824260a87788263a84900aa;p=lhc%2Fweb%2Fwiklou.git docs++ --- diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 2aebd61771..0a48c23068 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -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 );