| 1 | <?php |
||
| 13 | class GetAuthenticatedUserTask extends Task |
||
| 14 | { |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var \App\Containers\User\Tasks\Auth |
||
| 18 | */ |
||
| 19 | private $auth; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * GetAuthenticatedUserTask constructor. |
||
| 23 | * |
||
| 24 | * @param \App\Containers\User\Tasks\Auth $auth |
||
| 25 | */ |
||
| 26 | public function __construct(Auth $auth) |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @param $id |
||
| 33 | * |
||
| 34 | * @return mixed |
||
| 35 | */ |
||
| 36 | public function run() |
||
| 40 | |||
| 41 | } |
||
| 42 |
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..