@@ -29,7 +29,7 @@ |
||
| 29 | 29 | { |
| 30 | 30 | if (isset($value)) { |
| 31 | 31 | $this->preferences()->updateOrCreate(['key' => $key], ['value' => $this->cast($value, $type), |
| 32 | - 'type' => $type, ]); |
|
| 32 | + 'type' => $type, ]); |
|
| 33 | 33 | |
| 34 | 34 | return $value; |
| 35 | 35 | } |
@@ -44,10 +44,10 @@ |
||
| 44 | 44 | $comments = $request['comments']; |
| 45 | 45 | |
| 46 | 46 | $vacancies = $this->calendar() |
| 47 | - ->forService($service->id) |
|
| 48 | - ->forDate($request['date']) |
|
| 49 | - ->atTime($request['time']) |
|
| 50 | - ->find(); |
|
| 47 | + ->forService($service->id) |
|
| 48 | + ->forDate($request['date']) |
|
| 49 | + ->atTime($request['time']) |
|
| 50 | + ->find(); |
|
| 51 | 51 | |
| 52 | 52 | if ($vacancies->count() == 0) { |
| 53 | 53 | // Log failure feedback message |
@@ -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 | /** |
@@ -95,11 +95,11 @@ |
||
| 95 | 95 | public function buildTimetable($vacancies, $starting = 'today', $days = 1) |
| 96 | 96 | { |
| 97 | 97 | $this->timetable |
| 98 | - ->interval($this->interval) |
|
| 99 | - ->format('date.service.time') |
|
| 100 | - ->from($starting) |
|
| 101 | - ->future($days) |
|
| 102 | - ->init(); |
|
| 98 | + ->interval($this->interval) |
|
| 99 | + ->format('date.service.time') |
|
| 100 | + ->from($starting) |
|
| 101 | + ->future($days) |
|
| 102 | + ->init(); |
|
| 103 | 103 | |
| 104 | 104 | foreach ($vacancies as $vacancy) { |
| 105 | 105 | $this->updateTimeslots($vacancy, $this->interval); |