@@ -274,8 +274,8 @@ discard block |
||
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 |
||
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 |
||
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 | } |
@@ -77,7 +77,7 @@ |
||
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 | } |
@@ -105,7 +105,7 @@ |
||
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 | } |