@@ -81,12 +81,12 @@ |
||
81 | 81 | */ |
82 | 82 | public function intersects(Box $box, $strict = true) : bool |
83 | 83 | { |
84 | - $comparator = function ($x, $y) { |
|
84 | + $comparator = function($x, $y) { |
|
85 | 85 | return $x < $y; |
86 | 86 | }; |
87 | 87 | |
88 | 88 | if (!$strict) { |
89 | - $comparator = function ($x, $y) { |
|
89 | + $comparator = function($x, $y) { |
|
90 | 90 | return $x <= $y; |
91 | 91 | }; |
92 | 92 | } |