We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c0c460 commit fe6499dCopy full SHA for fe6499d
Store/RedisStore.php
@@ -306,7 +306,7 @@ private function getNowCode(): string
306
try {
307
$this->supportTime = 1 === $this->evaluate($script, 'symfony_check_support_time', []);
308
} catch (LockStorageException $e) {
309
- if (false === strpos($e->getMessage(), 'commands not allowed after non deterministic')) {
+ if (!str_contains($e->getMessage(), 'commands not allowed after non deterministic')) {
310
throw $e;
311
}
312
$this->supportTime = false;
0 commit comments