Passed
Branch master (74426b)
by Andy
01:45
created
src/DateTime.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
 
69 69
     public static function min(...$dates): ?DateTime
70 70
     {
71
-        return \array_reduce($dates, function (?DateTime $carry, DateTime $dateTime) {
71
+        return \array_reduce($dates, function(?DateTime $carry, DateTime $dateTime) {
72 72
             if (!$carry || $dateTime->isBefore($carry)) {
73 73
                 $carry = $dateTime;
74 74
             }
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
 
80 80
     public static function max(...$dates): ?DateTime
81 81
     {
82
-        return \array_reduce($dates, function (?DateTime $carry, DateTime $dateTime) {
82
+        return \array_reduce($dates, function(?DateTime $carry, DateTime $dateTime) {
83 83
             if (!$carry || $dateTime->isAfter($carry)) {
84 84
                 $carry = $dateTime;
85 85
             }
Please login to merge, or discard this patch.
src/Option/AbstractPeriod.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
 
9 9
     public static function getIntervalCode(string $period): string
10 10
     {
11
-        return static::getIntervalCodes()[$period];
11
+        return static::getIntervalCodes()[ $period ];
12 12
     }
13 13
 
14 14
     public static function toArray(): array
Please login to merge, or discard this patch.