Passed
Branch master (9742d1)
by Igor
02:52
created
Category
Event.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -274,8 +274,8 @@  discard block
 block discarded – undo
274 274
     {
275 275
         $segments = explode(':', $time);
276 276
 
277
-        return $this->spliceIntoPosition(2, (int)$segments[0])
278
-            ->spliceIntoPosition(1, count($segments) == 2 ? (int)$segments[1] : '0');
277
+        return $this->spliceIntoPosition(2, (int) $segments[0])
278
+            ->spliceIntoPosition(1, count($segments) == 2 ? (int) $segments[1] : '0');
279 279
     }
280 280
 
281 281
     /**
@@ -581,7 +581,7 @@  discard block
 block discarded – undo
581 581
         }
582 582
         $addresses = is_array($addresses) ? $addresses : func_get_args();
583 583
 
584
-        return $this->then(function (Application $app) use ($addresses) {
584
+        return $this->then(function(Application $app) use ($addresses) {
585 585
             $this->emailOutput($app->mailer, $addresses);
586 586
         });
587 587
     }
@@ -638,7 +638,7 @@  discard block
 block discarded – undo
638 638
      */
639 639
     public function thenPing($url)
640 640
     {
641
-        return $this->then(function () use ($url) {
641
+        return $this->then(function() use ($url) {
642 642
             (new HttpClient())->get($url);
643 643
         });
644 644
     }
Please login to merge, or discard this patch.
Schedule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
      */
78 78
     public function dueEvents(Application $app)
79 79
     {
80
-        return array_filter($this->_events, function (Event $event) use ($app) {
80
+        return array_filter($this->_events, function(Event $event) use ($app) {
81 81
             return $event->isDue($app);
82 82
         });
83 83
     }
Please login to merge, or discard this patch.
ScheduleController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
         }
106 106
 
107 107
         $schedule = $this->schedule;
108
-        call_user_func(function () use ($schedule, $scheduleFile) {
108
+        call_user_func(function() use ($schedule, $scheduleFile) {
109 109
             include $scheduleFile;
110 110
         });
111 111
     }
Please login to merge, or discard this patch.