fixed CS
This commit is contained in:
parent
608d428160
commit
d9aace2db3
@ -71,7 +71,7 @@ final class Lock implements LockInterface, LoggerAwareInterface
|
|||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
if ($blocking) {
|
if ($blocking) {
|
||||||
if (!($this->store instanceof StoreInterface) && !($this->store instanceof BlockingStoreInterface && $this->store->supportsWaitAndSave())) {
|
if (!$this->store instanceof StoreInterface && !($this->store instanceof BlockingStoreInterface && $this->store->supportsWaitAndSave())) {
|
||||||
throw new NotSupportedException(sprintf('The store "%s" does not support blocking locks.', \get_class($this->store)));
|
throw new NotSupportedException(sprintf('The store "%s" does not support blocking locks.', \get_class($this->store)));
|
||||||
}
|
}
|
||||||
$this->store->waitAndSave($this->key);
|
$this->store->waitAndSave($this->key);
|
||||||
|
Reference in New Issue
Block a user