Passed
Push — master ( 62f294...09e1a4 )
by René
06:57
created
Category
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->register = null;
88 88
 
89 89
         return $this;
@@ -260,7 +260,7 @@  discard block
 block discarded – undo
260 260
             } else {
261 261
                 $dt = new \DateTime('now', $this->timeZone);
262 262
 
263
-                if ((int)$dtime > 0) {
263
+                if ((int) $dtime > 0) {
264 264
                     $dt->setTimestamp($dtime);
265 265
                 }
266 266
 
@@ -270,7 +270,7 @@  discard block
 block discarded – undo
270 270
             $segments = sscanf($dtime->format('i G j n w'), '%d %d %d %d %d');
271 271
 
272 272
             foreach ($this->register as $i => $item) {
273
-                if (isset($item[(int)$segments[$i]]) === false) {
273
+                if (isset($item[(int) $segments[$i]]) === false) {
274 274
                     $result = false;
275 275
                     break;
276 276
                 }
@@ -293,7 +293,7 @@  discard block
 block discarded – undo
293 293
         if ($this->isValid()) {
294 294
             if ($dtime instanceof \DateTime) {
295 295
                 $timestamp = $dtime->getTimestamp();
296
-            } elseif ((int)$dtime > 0) {
296
+            } elseif ((int) $dtime > 0) {
297 297
                 $timestamp = $dtime;
298 298
             } else {
299 299
                 $timestamp = time();
Please login to merge, or discard this patch.