Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
31 | public function check(array $config): bool |
||
32 | { |
||
33 | $this->extensions = Collection::make(Arr::get($config, 'extensions', [])); |
||
34 | $this->extensions = $this->extensions->reject(function ($ext) { |
||
35 | return extension_loaded($ext) === false; |
||
36 | }); |
||
37 | |||
38 | return $this->extensions->isEmpty(); |
||
39 | } |
||
40 | |||
54 |