File tree 3 files changed +5
-3
lines changed
src/Symfony/Component/Lock/Store
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)
94
94
95
95
public function waitAndSave (Key $ key )
96
96
{
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 )));
98
98
}
99
99
100
100
/**
Original file line number Diff line number Diff line change 13
13
14
14
use Symfony \Component \Lock \Exception \InvalidArgumentException ;
15
15
use Symfony \Component \Lock \Exception \LockConflictedException ;
16
+ use Symfony \Component \Lock \Exception \NotSupportedException ;
16
17
use Symfony \Component \Lock \Key ;
17
18
use Symfony \Component \Lock \StoreInterface ;
18
19
@@ -70,7 +71,7 @@ public function save(Key $key)
70
71
71
72
public function waitAndSave (Key $ key )
72
73
{
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 )));
74
75
}
75
76
76
77
/**
Original file line number Diff line number Diff line change 14
14
use Symfony \Component \Cache \Traits \RedisProxy ;
15
15
use Symfony \Component \Lock \Exception \InvalidArgumentException ;
16
16
use Symfony \Component \Lock \Exception \LockConflictedException ;
17
+ use Symfony \Component \Lock \Exception \NotSupportedException ;
17
18
use Symfony \Component \Lock \Key ;
18
19
use Symfony \Component \Lock \StoreInterface ;
19
20
@@ -72,7 +73,7 @@ public function save(Key $key)
72
73
73
74
public function waitAndSave (Key $ key )
74
75
{
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 )));
76
77
}
77
78
78
79
/**
You can’t perform that action at this time.
0 commit comments