Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php namespace JobApis\JobsToMail\Jobs\Users; |
||
22 | 1 | public function __construct($data = []) |
|
23 | { |
||
24 | 1 | $this->data = $data; |
|
|
|||
25 | 1 | $this->admin = new User( |
|
26 | 1 | ['email' => env('ADMIN_EMAIL', '[email protected]')] |
|
27 | ); |
||
28 | 1 | } |
|
29 | |||
45 |
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..