Completed
Push — master ( 2edae1...9ca094 )
by light
01:46
created
src/ScheduleController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
         }
97 97
         $schedule = $this->schedule;
98 98
 
99
-        call_user_func(function () use ($schedule, $scheduleFile) {
99
+        call_user_func(function() use ($schedule, $scheduleFile) {
100 100
             require $scheduleFile;
101 101
         });
102 102
     }
Please login to merge, or discard this patch.
src/Event.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
      */
186 186
     public function thenPing($url)
187 187
     {
188
-        return $this->then(function () use ($url) {
188
+        return $this->then(function() use ($url) {
189 189
             (new HttpClient())->get($url);
190 190
         });
191 191
     }
@@ -234,7 +234,7 @@  discard block
 block discarded – undo
234 234
         }
235 235
         $address = is_array($address) ? $address : func_get_args();
236 236
 
237
-        return $this->then(function (Application $app) use ($address) {
237
+        return $this->then(function(Application $app) use ($address) {
238 238
             $thsi->sendEmail($app->mailer, $address);
239 239
         });
240 240
     }
@@ -391,8 +391,8 @@  discard block
 block discarded – undo
391 391
     {
392 392
         $segments = explode(':', $time);
393 393
 
394
-        return $this->spliceIntoPosition(2, (int)$segments[0])
395
-            ->spliceIntoPosition(1, count($segments) == 2 ? (int)$segments[1] : '0');
394
+        return $this->spliceIntoPosition(2, (int) $segments[0])
395
+            ->spliceIntoPosition(1, count($segments) == 2 ? (int) $segments[1] : '0');
396 396
     }
397 397
 
398 398
     /**
Please login to merge, or discard this patch.
src/Schedule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
      */
82 82
     public function dueEvents(Application $app)
83 83
     {
84
-        return array_filter($this->_events, function (Event $event) use ($app) {
84
+        return array_filter($this->_events, function(Event $event) use ($app) {
85 85
             return $event->isDue($app);
86 86
         });
87 87
     }
Please login to merge, or discard this patch.