@@ -72,7 +72,7 @@ discard block |
||
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 |
||
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 | } |