Passed
Pull Request — master (#2)
by Ronan
03:53
created
src/Number/Volume.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
             return null;
73 73
         }
74 74
 
75
-        return (4/3) * pi() * pow($radius, 3);
75
+        return (4 / 3) * pi() * pow($radius, 3);
76 76
     }
77 77
 
78 78
     /**
@@ -89,6 +89,6 @@  discard block
 block discarded – undo
89 89
      */
90 90
     public function hexagonalPrism($height, $edgeLength): ?float
91 91
     {
92
-        return (3/2) * sqrt(3) * pow($edgeLength, 2) * $height;
92
+        return (3 / 2) * sqrt(3) * pow($edgeLength, 2) * $height;
93 93
     }
94 94
 }
Please login to merge, or discard this patch.