Completed
Push — master ( 007fb6...849782 )
by Ariel
16:17
created
src/Traits/Preferenceable.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.
src/Timetable/Strategies/TimetableDateslotStrategy.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -17,10 +17,10 @@
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
src/Timetable/Strategies/TimetableTimeslotStrategy.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -95,11 +95,11 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/Concierge.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -61,11 +61,11 @@
 block discarded – undo
61 61
         $comments = $request['comments'];
62 62
 
63 63
         $vacancies = $this->calendar()
64
-                          ->forService($service->id)
65
-                          ->withDuration($service->duration)
66
-                          ->forDate($request['date'])
67
-                          ->atTime($request['time'])
68
-                          ->find();
64
+                            ->forService($service->id)
65
+                            ->withDuration($service->duration)
66
+                            ->forDate($request['date'])
67
+                            ->atTime($request['time'])
68
+                            ->find();
69 69
 
70 70
         if ($vacancies->count() == 0) {
71 71
             // TODO: Log failure feedback message / raise exception
Please login to merge, or discard this patch.
src/Presenters/AppointmentPresenter.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -54,16 +54,16 @@
 block discarded – undo
54 54
         }
55 55
 
56 56
         $fromTime = $this->wrappedObject
57
-                         ->vacancy
58
-                         ->start_at
59
-                         ->timezone($this->wrappedObject->business->timezone)
60
-                         ->format($timeFormat);
57
+                            ->vacancy
58
+                            ->start_at
59
+                            ->timezone($this->wrappedObject->business->timezone)
60
+                            ->format($timeFormat);
61 61
 
62 62
         $toTime = $this->wrappedObject
63
-                       ->vacancy
64
-                       ->finish_at
65
-                       ->timezone($this->wrappedObject->business->timezone)
66
-                       ->format($timeFormat);
63
+                        ->vacancy
64
+                        ->finish_at
65
+                        ->timezone($this->wrappedObject->business->timezone)
66
+                        ->format($timeFormat);
67 67
 
68 68
         return ['from' => $fromTime, 'to' => $toTime];
69 69
     }
Please login to merge, or discard this patch.