Passed
Pull Request — master (#1)
by Sebastiaan
02:41
created
src/Event/BaseEvent.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -280,7 +280,7 @@
 block discarded – undo
280 280
     /**
281 281
      * Set the days of the week the command should run on.
282 282
      *
283
-     * @param  array|mixed  $days
283
+     * @param  integer  $days
284 284
      * @return $this
285 285
      */
286 286
     public function days($days)
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
      */
94 94
     private function inTimeInterval($startTime, $endTime)
95 95
     {
96
-        return function () use ($startTime, $endTime) {
96
+        return function() use ($startTime, $endTime) {
97 97
             $now = Carbon::now()->getTimestamp();
98 98
             return $now >= strtotime($startTime) && $now <= strtotime($endTime);
99 99
         };
Please login to merge, or discard this patch.
src/Schedule.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
      */
60 60
     public function run($event)
61 61
     {
62
-        if(is_callable($event)) {
62
+        if (is_callable($event)) {
63 63
             $event = new Callback($event);
64 64
         } else {
65 65
             $event = new Process($event);
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
      */
85 85
     public function dueEvents()
86 86
     {
87
-        return array_filter($this->events, function (Event $event) {
87
+        return array_filter($this->events, function(Event $event) {
88 88
             return $event->isDue();
89 89
         });
90 90
     }
Please login to merge, or discard this patch.
src/Event/Process.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
         $parts = [];
97 97
 
98 98
         if ($this->cwd) {
99
-            $parts[] =  'cd ' . $this->cwd . ';';
99
+            $parts[] = 'cd ' . $this->cwd . ';';
100 100
         }
101 101
 
102 102
         if ($this->user) {
Please login to merge, or discard this patch.