Skip to content

Commit e824a75

Browse files
committed
fix test on array_map changes (maybe regression?)
1 parent bed5242 commit e824a75

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎ext/user_cache/tests/user_cache_pool_status_index.phpt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ foreach ($seen as $otherBucket => $name) {
4747
break;
4848
}
4949
}
50-
[$a, $b, $c] = array_map(Cache::getPool(...), $names);
50+
[$a, $b, $c] = array_map(fn(string $name) => Cache::getPool($name), $names);
5151
foreach ([$a, $b, $c] as $cache) {
5252
$cache->clear();
5353
}

0 commit comments

Comments
 (0)