Conditions | 2 |
Paths | 2 |
Total Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
12 | public function canSolve(Throwable $throwable): bool |
||
13 | { |
||
14 | if (! $throwable instanceof Exception) { |
||
15 | return false; |
||
16 | } |
||
17 | |||
18 | return in_array($throwable->getMessage(), [ |
||
19 | 'Call to undefined method Illuminate\Cache\FileStore::lock()', |
||
20 | 'Call to undefined method Illuminate\Cache\DatabaseStore::lock()', |
||
21 | 'Call to undefined method Illuminate\Cache\ApcStore::lock()', |
||
22 | ]); |
||
23 | } |
||
24 | |||
34 |