File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ public function save(Key $key)
9494
9595 public function waitAndSave (Key $ key )
9696 {
97- throw new NotSupportedException (sprintf ('The store "%s" does not supports blocking locks. ' , \get_class ($ this )));
97+ throw new NotSupportedException (sprintf ('The store "%s" does not support blocking locks. ' , \get_class ($ this )));
9898 }
9999
100100 /**
Original file line number Diff line number Diff line change 1313
1414use Symfony \Component \Lock \Exception \InvalidArgumentException ;
1515use Symfony \Component \Lock \Exception \LockConflictedException ;
16+ use Symfony \Component \Lock \Exception \NotSupportedException ;
1617use Symfony \Component \Lock \Key ;
1718use Symfony \Component \Lock \StoreInterface ;
1819
@@ -70,7 +71,7 @@ public function save(Key $key)
7071
7172 public function waitAndSave (Key $ key )
7273 {
73- throw new InvalidArgumentException (sprintf ('The store "%s" does not supports blocking locks. ' , \get_class ($ this )));
74+ throw new NotSupportedException (sprintf ('The store "%s" does not support blocking locks. ' , \get_class ($ this )));
7475 }
7576
7677 /**
Original file line number Diff line number Diff line change 1414use Symfony \Component \Cache \Traits \RedisProxy ;
1515use Symfony \Component \Lock \Exception \InvalidArgumentException ;
1616use Symfony \Component \Lock \Exception \LockConflictedException ;
17+ use Symfony \Component \Lock \Exception \NotSupportedException ;
1718use Symfony \Component \Lock \Key ;
1819use Symfony \Component \Lock \StoreInterface ;
1920
@@ -72,7 +73,7 @@ public function save(Key $key)
7273
7374 public function waitAndSave (Key $ key )
7475 {
75- throw new InvalidArgumentException (sprintf ('The store "%s" does not supports blocking locks. ' , \get_class ($ this )));
76+ throw new NotSupportedException (sprintf ('The store "%s" does not support blocking locks. ' , \get_class ($ this )));
7677 }
7778
7879 /**
You can’t perform that action at this time.
0 commit comments