| 1 | <?php |
||
| 8 | class NextGameWidget extends AbstractHelper |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var GameService |
||
| 12 | */ |
||
| 13 | protected $gameService; |
||
| 14 | |||
| 15 | public function __construct(\PlaygroundGame\Service\Game $gameService) |
||
| 19 | |||
| 20 | /** |
||
| 21 | * __invoke |
||
| 22 | * |
||
| 23 | * @access public |
||
| 24 | * @param array $options array of options |
||
| 25 | * @return string |
||
| 26 | */ |
||
| 27 | public function __invoke($dateStart = null, $dateEnd = null, $classType = null, $cost = null, $order = null, $dir = 'DESC') |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Get gameService. |
||
| 36 | * |
||
| 37 | * @return GameService |
||
| 38 | */ |
||
| 39 | public function getGameService() |
||
| 43 | } |
||
| 44 |
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..