Skip to content

Commit 92fdf82

Browse files
committed
fix stan
1 parent 9abe6ed commit 92fdf82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Mutex/RedisMutex.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ protected function add(string $key, string $value, float $expireTimeout): bool
107107
try {
108108
// Will set the key, if it doesn't exist, with a ttl of $expire seconds
109109
return $this->client->set($key, $value, ['nx', 'px' => $expireTimeoutMillis]);
110-
} catch (\RedisException $e) {
110+
} catch (\RedisException $e) { // @phpstan-ignore catch.neverThrown
111111
$message = sprintf(
112112
'Failed to acquire lock for key \'%s\'',
113113
$key

0 commit comments

Comments
 (0)