| 1 | <?php |
||
| 13 | class ListTimeTrackersTask extends Task |
||
| 14 | { |
||
| 15 | |||
| 16 | |||
| 17 | /** |
||
| 18 | * @var \App\Containers\Tracker\Actions\TimeTrackerRepository |
||
| 19 | */ |
||
| 20 | private $timeTrackerRepository; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * ListTimeTrackerAction constructor. |
||
| 24 | * |
||
| 25 | * @param \App\Containers\Tracker\Data\Repositories\TimeTrackerRepository $timeTrackerRepository |
||
| 26 | */ |
||
| 27 | public function __construct(TimeTrackerRepository $timeTrackerRepository) |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @param array $relations |
||
| 34 | * |
||
| 35 | * @return mixed |
||
| 36 | */ |
||
| 37 | public function run($relations = ['user']) |
||
| 43 | |||
| 44 | |||
| 45 | } |
||
| 46 |
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..