Passed
Push — master ( 8ae221...1bc696 )
by Victor
01:52 queued 11s
created
src/Util/Date.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
     {
28 28
         try {
29 29
             $start = new DateTime("today + $start days");
30
-            $end = (new DateTime("today + $end days"))->setTime(23,59,59);
30
+            $end = (new DateTime("today + $end days"))->setTime(23, 59, 59);
31 31
         } catch (Exception $e) {}
32 32
         
33 33
         return [$start, $end, $value];
@@ -41,10 +41,10 @@  discard block
 block discarded – undo
41 41
      */
42 42
     public static function intvg($intervals = null) {
43 43
         $intvg = new IntervalGraph();
44
-        $intvg->setSubstractStep(function (DateTime $bound) {
44
+        $intvg->setSubstractStep(function(DateTime $bound) {
45 45
             return (clone $bound)->sub(new DateInterval('PT1S'));
46 46
         })
47
-            ->setAddStep(function (DateTime $bound) {
47
+            ->setAddStep(function(DateTime $bound) {
48 48
             return (clone $bound)->add(new DateInterval('PT1S'));
49 49
         });
50 50
         if (isset($intervals)) {
Please login to merge, or discard this patch.