Completed
Push — master ( 2fa4c6...cd9c39 )
by Ariel
08:29
created
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.