@@ -96,7 +96,7 @@ |
||
| 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 | } |
@@ -185,7 +185,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | /** |
@@ -81,7 +81,7 @@ |
||
| 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 | } |