Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Tests | 13 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
29 | 2 | public function __construct(Kernel $kernel, $config = []) |
|
30 | { |
||
31 | 2 | $this->kernel = $kernel; |
|
1 ignored issue
–
show
|
|||
32 | 2 | $this->config = Arr::except(array_merge([ |
|
33 | 2 | 'username' => 'LARAVEL', |
|
34 | 2 | 'hostname' => php_uname('n'), |
|
35 | 2 | 'os' => PHP_OS, |
|
36 | 2 | ], $config), [ |
|
37 | 2 | 'enabled', |
|
38 | 2 | 'whitelists', |
|
39 | 2 | 'route', |
|
40 | 2 | 'commands', |
|
41 | 2 | ]); |
|
42 | 2 | } |
|
43 | |||
75 |
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..