Test Failed
Push — master ( c78782...4767ee )
by Davis
05:32
created
src/Dates.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
         $end = clone $endDate;
63 63
 
64 64
         while ($start <= $end) {
65
-            $str = (int)$start->format('w');
65
+            $str = (int) $start->format('w');
66 66
 
67 67
             if (!$full) {
68 68
                 if (in_array($str, range(1, 5)) && !$isOpen) {
Please login to merge, or discard this patch.
src/WeekInterval.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
         $this->end_date = $end_date;
28 28
 
29 29
         $interval = $end_date->diff($start_date);
30
-        $this->interval = (int)$interval->format('%a') + 1;
30
+        $this->interval = (int) $interval->format('%a') + 1;
31 31
     }
32 32
 
33 33
     /**
Please login to merge, or discard this patch.