Index: trunk/phase3/includes/GlobalFunctions.php |
— | — | @@ -221,7 +221,7 @@ |
222 | 222 | * @param $after Mixed: The key to insert after |
223 | 223 | * @return Array |
224 | 224 | */ |
225 | | -function wfArrayInsertAfter( $array, $insert, $after ) { |
| 225 | +function wfArrayInsertAfter( array $array, array $insert, $after ) { |
226 | 226 | // Find the offset of the element to insert after. |
227 | 227 | $keys = array_keys( $array ); |
228 | 228 | $offsetByKey = array_flip( $keys ); |