@@ -14,6 +14,10 @@ |
||
| 14 | 14 | $this->timetable = $timetable; |
| 15 | 15 | } |
| 16 | 16 | |
| 17 | + /** |
|
| 18 | + * @param string $starting |
|
| 19 | + * @param integer $days |
|
| 20 | + */ |
|
| 17 | 21 | protected function initTimetable($starting, $days) |
| 18 | 22 | { |
| 19 | 23 | $this->timetable |
@@ -17,10 +17,10 @@ |
||
| 17 | 17 | protected function initTimetable($starting, $days) |
| 18 | 18 | { |
| 19 | 19 | $this->timetable |
| 20 | - ->format('date.service.time') |
|
| 21 | - ->from($starting) |
|
| 22 | - ->future($days) |
|
| 23 | - ->init(); |
|
| 20 | + ->format('date.service.time') |
|
| 21 | + ->from($starting) |
|
| 22 | + ->future($days) |
|
| 23 | + ->init(); |
|
| 24 | 24 | } |
| 25 | 25 | |
| 26 | 26 | /** |
@@ -16,6 +16,10 @@ |
||
| 16 | 16 | $this->timetable = $timetable; |
| 17 | 17 | } |
| 18 | 18 | |
| 19 | + /** |
|
| 20 | + * @param string $starting |
|
| 21 | + * @param integer $days |
|
| 22 | + */ |
|
| 19 | 23 | protected function initTimetable($starting, $days) |
| 20 | 24 | { |
| 21 | 25 | $this->timetable |
@@ -2,8 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Timegridio\Concierge\Timetable\Strategies; |
| 4 | 4 | |
| 5 | -use Timegridio\Concierge\Models\Business; |
|
| 6 | -use Timegridio\Concierge\Models\Service; |
|
| 7 | 5 | use Timegridio\Concierge\Models\Vacancy; |
| 8 | 6 | use Timegridio\Concierge\Timetable\Timetable; |
| 9 | 7 | |
@@ -11,9 +11,9 @@ |
||
| 11 | 11 | protected function initTimetable($starting, $days) |
| 12 | 12 | { |
| 13 | 13 | $this->timetable |
| 14 | - ->format('date.service.time') |
|
| 15 | - ->from($starting) |
|
| 16 | - ->future($days) |
|
| 17 | - ->init(); |
|
| 14 | + ->format('date.service.time') |
|
| 15 | + ->from($starting) |
|
| 16 | + ->future($days) |
|
| 17 | + ->init(); |
|
| 18 | 18 | } |
| 19 | 19 | } |