Skip to content

Commit 28e844d

Browse files
committed
Updates array_key_refill second param to require an array
1 parent 286acae commit 28e844d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/array.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ function array_keys_array( array $arrays, $keys ) {
9595
* @param mixed $fill The desired value to fill with
9696
* @return array
9797
*/
98-
function array_key_refill( array $array, $keys, $fill = array() ) {
98+
function array_key_refill( array $array, array $keys, $fill = array() ) {
9999
foreach( $keys as $key ) {
100100
if( !isset($array[$key]) ) {
101101
$array[$key] = $fill;

0 commit comments

Comments
 (0)