We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91b86a6 commit d8f50a5Copy full SHA for d8f50a5
src/Math/BrickMathCalculator.php
@@ -139,6 +139,6 @@ public function toInteger(Hexadecimal $value): IntegerObject
139
*/
140
private function getBrickRoundingMode(int $roundingMode): int
141
{
142
- return self::ROUNDING_MODE_MAP[$roundingMode] ?? 0;
+ return self::ROUNDING_MODE_MAP[$roundingMode] ?? BrickMathRounding::UNNECESSARY;
143
}
144
0 commit comments