| 1 | <?php |
||
| 8 | class TimetableStrategy |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Timetable Strategy. |
||
| 12 | * |
||
| 13 | * @var TimetableTimeslotStrategy|TimetableDateslotStrategy |
||
| 14 | */ |
||
| 15 | protected $strategy = null; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * Construct Timetable Strategy class. |
||
| 19 | * |
||
| 20 | * @param string $strategyId |
||
| 21 | * |
||
| 22 | * @throws Timegridio\Concierge\Exceptions\StrategyNotRecognizedException |
||
| 23 | */ |
||
| 24 | public function __construct($strategyId) |
||
| 37 | |||
| 38 | public function buildTimetable($vacancies, $starting = 'today', $days = 1) |
||
| 42 | } |
||
| 43 |
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..