| 1 | <?php |
||
| 14 | class ListTimeTrackerAction extends Action |
||
| 15 | { |
||
| 16 | |||
| 17 | |||
| 18 | /** |
||
| 19 | * @var \App\Containers\Tracker\Actions\TimeTrackerRepository |
||
| 20 | */ |
||
| 21 | private $timeTrackerRepository; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @var \App\Containers\User\Services\FindUserService |
||
| 25 | */ |
||
| 26 | private $findUserService; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * ListTimeTrackerAction constructor. |
||
| 30 | * |
||
| 31 | * @param \App\Containers\Tracker\Actions\TimeTrackerRepository $timeTrackerRepository |
||
| 32 | * @param \App\Containers\User\Services\FindUserService $findUserService |
||
| 33 | */ |
||
| 34 | public function __construct(TimeTrackerRepository $timeTrackerRepository, FindUserService $findUserService) |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @param array $relations |
||
| 42 | * |
||
| 43 | * @return mixed |
||
| 44 | */ |
||
| 45 | public function all($relations = ['user']) |
||
| 51 | |||
| 52 | |||
| 53 | } |
||
| 54 |
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..