Completed
Push — dev ( 033f7d...b1a215 )
by Jordan
10s
created
src/Samsara/Fermat/Types/Traits/PrecisionTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
 
43 43
                 $rounded = $whole.'.';
44 44
 
45
-                for ($i = 0;$i < $decimals;$i++) {
45
+                for ($i = 0; $i < $decimals; $i++) {
46 46
                     $rounded .= $fractionalArr[$i];
47 47
                 }
48 48
 
Please login to merge, or discard this patch.
src/Samsara/Fermat/Types/Number.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
     public function __construct($value, $precision = null, $base = 10)
45 45
     {
46 46
         $this->base = $base;
47
-        $this->value = (string)$value;
47
+        $this->value = (string) $value;
48 48
         
49 49
         if (!is_null($precision)) {
50 50
             if ($precision > 2147483646) {
Please login to merge, or discard this patch.