Passed
Push — master ( 02e5a5...ce9894 )
by Sebastiaan
03:08
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
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
         }
124 124
 
125 125
         if ($this->cwd) {
126
-            $command .=  'cd ' . $this->cwd . '; ';
126
+            $command .= 'cd ' . $this->cwd . '; ';
127 127
         }
128 128
 
129 129
         if ($this->user) {
@@ -258,7 +258,7 @@  discard block
 block discarded – undo
258 258
      */
259 259
     private function inTimeInterval($startTime, $endTime)
260 260
     {
261
-        return function () use ($startTime, $endTime) {
261
+        return function() use ($startTime, $endTime) {
262 262
             $now = Carbon::now()->getTimestamp();
263 263
             return $now >= strtotime($startTime) && $now <= strtotime($endTime);
264 264
         };
Please login to merge, or discard this patch.