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 1515use Symfony \Component \Cache \Traits \RedisProxy ;
1616use Symfony \Component \Lock \Exception \InvalidArgumentException ;
1717use Symfony \Component \Lock \Exception \LockConflictedException ;
18+ use Symfony \Component \Lock \Exception \NotSupportedException ;
1819use Symfony \Component \Lock \Key ;
1920use Symfony \Component \Lock \StoreInterface ;
2021
@@ -76,7 +77,7 @@ public function save(Key $key)
7677 */
7778 public function waitAndSave (Key $ key )
7879 {
79- throw new InvalidArgumentException (sprintf ('The store "%s" does not supports blocking locks. ' , \get_class ($ this )));
80+ throw new NotSupportedException (sprintf ('The store "%s" does not support blocking locks. ' , \get_class ($ this )));
8081 }
8182
8283 /**
You can’t perform that action at this time.
0 commit comments