Passed
Push — master ( ce9894...a2c9fd )
by Sebastiaan
02:10
created
src/Schedule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
      */
37 37
     public function dueEvents()
38 38
     {
39
-        return array_filter($this->events, function (Event $event) {
39
+        return array_filter($this->events, function(Event $event) {
40 40
             return $event->isDue();
41 41
         });
42 42
     }
Please login to merge, or discard this patch.
src/Event.php 2 patches
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,6 +100,9 @@  discard block
 block discarded – undo
100 100
      */
101 101
     public $description;
102 102
 
103
+    /**
104
+     * @param string $command
105
+     */
103 106
     public function __construct(/* string */ $command)
104 107
     {
105 108
         Assert::stringNotEmpty($command);
@@ -530,7 +533,7 @@  discard block
 block discarded – undo
530 533
     /**
531 534
      * Set the days of the week the command should run on.
532 535
      *
533
-     * @param  array|mixed  $days
536
+     * @param  integer  $days
534 537
      * @return $this
535 538
      */
536 539
     public function days($days)
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
         $parts = [];
142 142
 
143 143
         if ($this->cwd) {
144
-            $parts[] =  'cd ' . $this->cwd . ';';
144
+            $parts[] = 'cd ' . $this->cwd . ';';
145 145
         }
146 146
 
147 147
         if ($this->user) {
@@ -279,7 +279,7 @@  discard block
 block discarded – undo
279 279
      */
280 280
     private function inTimeInterval($startTime, $endTime)
281 281
     {
282
-        return function () use ($startTime, $endTime) {
282
+        return function() use ($startTime, $endTime) {
283 283
             $now = Carbon::now()->getTimestamp();
284 284
             return $now >= strtotime($startTime) && $now <= strtotime($endTime);
285 285
         };
Please login to merge, or discard this patch.