@@ -144,7 +144,7 @@ discard block |
||
144 | 144 | */ |
145 | 145 | public function sort(): NumberCollectionInterface |
146 | 146 | { |
147 | - $this->getCollection()->sort(function($left, $right){ |
|
147 | + $this->getCollection()->sort(function($left, $right) { |
|
148 | 148 | return ArithmeticProvider::compare($left->getAsBaseTenRealNumber(), $right->getAsBaseTenRealNumber()); |
149 | 149 | }); |
150 | 150 | |
@@ -277,7 +277,7 @@ discard block |
||
277 | 277 | */ |
278 | 278 | public function getRandom(): NumberInterface |
279 | 279 | { |
280 | - $maxKey = $this->getCollection()->count() - 1; |
|
280 | + $maxKey = $this->getCollection()->count()-1; |
|
281 | 281 | |
282 | 282 | $key = PolyfillProvider::randomInt(0, $maxKey); |
283 | 283 |