Completed
Branch master (199743)
by light
01:52
created
src/Event.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -428,7 +428,7 @@  discard block
 block discarded – undo
428 428
     /**
429 429
      * Set the days of the week the command should run on.
430 430
      *
431
-     * @param array|int $days
431
+     * @param integer $days
432 432
      *
433 433
      * @return $this
434 434
      */
@@ -557,7 +557,7 @@  discard block
 block discarded – undo
557 557
     /**
558 558
      * Schedule the event to run every N minutes.
559 559
      *
560
-     * @param int|string $minutes
560
+     * @param integer $minutes
561 561
      *
562 562
      * @return $this
563 563
      */
Please login to merge, or discard this 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/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/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.