Test Failed
Push — dev ( 1003f4...1f65ed )
by Jordan
14:51
created
src/Samsara/Fermat/Types/NumberCollection.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.