Skip to content

Commit 1a46f0d

Browse files
authored
Fix type expectation in ! wp_is_numeric_array() scope (#389)
1 parent dba66d7 commit 1a46f0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/data/assert/wp-is-numeric-array.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
assertType('array<int, mixed>', $data);
4141
}
4242
if (! wp_is_numeric_array($data)) {
43-
assertType('array', $data); // can still be a mixed key array
43+
assertType('non-empty-array', $data); // can still be a mixed key array
4444
}
4545

4646
// Check with union

0 commit comments

Comments
 (0)