Completed
Push — master ( 714012...8b2f7d )
by Ariel
08:14
created
src/Timetable/Strategies/TimetableDateslotStrategy.php 2 patches
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.
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -16,6 +16,10 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/Models/Appointment.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -500,21 +500,21 @@
 block discarded – undo
500 500
     public function scopeAffectingInterval($query, Carbon $startAt, Carbon $finishAt)
501 501
     {
502 502
         return $query
503
-            ->where(function ($query) use ($startAt, $finishAt) {
503
+            ->where(function($query) use ($startAt, $finishAt) {
504 504
 
505
-                $query->where(function ($query) use ($startAt, $finishAt) {
505
+                $query->where(function($query) use ($startAt, $finishAt) {
506 506
                     $query->where('finish_at', '>=', $finishAt->timezone('UTC'))
507 507
                             ->where('start_at', '<=', $startAt->timezone('UTC'));
508 508
                 })
509
-                ->orWhere(function ($query) use ($startAt, $finishAt) {
509
+                ->orWhere(function($query) use ($startAt, $finishAt) {
510 510
                     $query->where('finish_at', '<', $finishAt->timezone('UTC'))
511 511
                             ->where('finish_at', '>', $startAt->timezone('UTC'));
512 512
                 })
513
-                ->orWhere(function ($query) use ($startAt, $finishAt) {
513
+                ->orWhere(function($query) use ($startAt, $finishAt) {
514 514
                     $query->where('start_at', '>', $startAt->timezone('UTC'))
515 515
                             ->where('start_at', '<', $finishAt->timezone('UTC'));
516 516
                 })
517
-                ->orWhere(function ($query) use ($startAt, $finishAt) {
517
+                ->orWhere(function($query) use ($startAt, $finishAt) {
518 518
                     $query->where('start_at', '>', $startAt->timezone('UTC'))
519 519
                             ->where('finish_at', '<', $finishAt->timezone('UTC'));
520 520
                 });
Please login to merge, or discard this patch.
src/TimegridioConciergeServiceProvider.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Timegridio\Concierge;
4 4
 
5
-use Illuminate\Routing\Router;
6 5
 use Illuminate\Support\ServiceProvider;
7 6
 
8 7
 class TimegridioConciergeServiceProvider extends ServiceProvider
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
      */
47 47
     private function registerConcierge()
48 48
     {
49
-        $this->app->bind('concierge', function ($app) {
49
+        $this->app->bind('concierge', function($app) {
50 50
             return new Concierge($app);
51 51
         });
52 52
     }
Please login to merge, or discard this patch.