| @@ -27,7 +27,7 @@ discard block | ||
| 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 | ||
| 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)) { |