Completed
Push — master ( 7c3e1b...1981e3 )
by René
02:24
created
src/Cron.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
      */
84 84
     public function setExpression($expression)
85 85
     {
86
-        $this->expression = trim((string)$expression);
86
+        $this->expression = trim((string) $expression);
87 87
         $this->registers = null;
88 88
 
89 89
         return $this;
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
         } else {
135 135
             $dt = new \DateTime('now', $this->timeZone);
136 136
 
137
-            if ((int)$dtime > 0) {
137
+            if ((int) $dtime > 0) {
138 138
                 $dt->setTimestamp($dtime);
139 139
             }
140 140
 
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
             $result = true;
148 148
 
149 149
             foreach ($this->parse() as $i => $item) {
150
-                if (isset($item[(int)$segments[$i]]) === false) {
150
+                if (isset($item[(int) $segments[$i]]) === false) {
151 151
                     $result = false;
152 152
                     break;
153 153
                 }
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
         if ($this->isValid()) {
173 173
             if ($dtime instanceof \DateTime) {
174 174
                 $timestamp = $dtime->getTimestamp();
175
-            } elseif ((int)$dtime > 0) {
175
+            } elseif ((int) $dtime > 0) {
176 176
                 $timestamp = $dtime;
177 177
             } else {
178 178
                 $timestamp = time();
Please login to merge, or discard this patch.