@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | // Order the bounds. |
76 | 76 | usort( |
77 | 77 | $bounds, |
78 | - static function (array $d1, array $d2) { |
|
78 | + static function(array $d1, array $d2) { |
|
79 | 79 | return ($d1[0] < $d2[0]) ? -1 : 1; |
80 | 80 | } |
81 | 81 | ); |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | { |
97 | 97 | $discreteValues = array_filter( |
98 | 98 | $intervals, |
99 | - static function ($interval) { |
|
99 | + static function($interval) { |
|
100 | 100 | return $interval[0] === $interval[1]; |
101 | 101 | } |
102 | 102 | ); |
@@ -133,7 +133,7 @@ discard block |
||
133 | 133 | // If the current bound is the same as the next, which happens when multiple intervals |
134 | 134 | // begin or end at the same time, skip it. |
135 | 135 | // Use weak comparison since the type could be an object like DateTime. |
136 | - if ($curBoundValue == $nextBoundValue){ |
|
136 | + if ($curBoundValue == $nextBoundValue) { |
|
137 | 137 | continue; |
138 | 138 | } |
139 | 139 |