Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Tests | 8 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
30 | 2 | public function __construct(Kernel $kernel, $config = []) |
|
31 | { |
||
32 | 2 | $this->kernel = $kernel; |
|
1 ignored issue
–
show
|
|||
33 | 2 | $this->config = Arr::except(array_merge([ |
|
34 | 2 | 'username' => 'LARAVEL', |
|
35 | 2 | 'hostname' => php_uname('n'), |
|
36 | 2 | 'os' => PHP_OS, |
|
37 | ], $config), [ |
||
38 | 2 | 'enabled', |
|
39 | 'whitelists', |
||
40 | 'route', |
||
41 | 'commands', |
||
42 | ]); |
||
43 | 2 | } |
|
44 | |||
76 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..