Commit 2a08bc7
committed
Make the test "array is a list" a bit more robust
We are looking for an integer, excluding other numeric values (decimals, etc).
As a reminder: for array keys, PHP automatically casts strings representing integers to regular integers.1 parent 211f713 commit 2a08bc7
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
284 | | - | |
| 284 | + | |
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
| |||
0 commit comments