8000 fix implicit nullable (8.4) · phpredis/phpredis@bff3a22 · GitHub
[go: up one dir, main page]

Skip to content

Commit bff3a22

Browse files
remicolletmichael-grunder
authored andcommitted
fix implicit nullable (8.4)
1 parent 30c8f90 commit bff3a22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/TestSuite.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ protected function assertIsArray($v, ?int $size = null): bool {
284284
return true;
285285
}
286286

287-
protected function assertArrayKey($arr, $key, callable $cb = NULL): bool {
287+
protected function assertArrayKey($arr, $key, ?callable $cb = NULL): bool {
288288
$cb ??= function ($v) { return true; };
289289

290290
if (($exists = isset($arr[$key])) && $cb($arr[$key]))

0 commit comments

Comments
 (0)
0