8000 Merge branch '4.4' into 5.3 · symfony/cache@61ce40a · GitHub
[go: up one dir, main page]

Skip to content

Commit 61ce40a

Browse files
Merge branch '4.4' into 5.3
* 4.4: [DomCrawler] Fix HTML5 parser charset option cs fix [HttpKernel] Do not attempt to register enum arguments in controller service locator [Cache] Don't lock when doing nested computations [Messenger] fix Redis support on 32b arch [HttpFoundation] Fix notice when HTTP_PHP_AUTH_USER passed without pass
2 parents 135d759 + 1caa6c6 commit 61ce40a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LockRegistry.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public static function compute(callable $callback, ItemInterface $item, bool &$s
8989

9090
$key = self::$files ? abs(crc32($item->getKey())) % \count(self::$files) : -1;
9191

92-
if ($key < 0 || (self::$lockedFiles[$key] ?? false) || !$lock = self::open($key)) {
92+
if ($key < 0 || self::$lockedFiles || !$lock = self::open($key)) {
9393
return $callback($item, $save);
9494
}
9595

0 commit comments

Comments
 (0)
0