Skip to content
Code-Schnipsel Gruppen Projekte
Commit 462302bd erstellt von Henning Leutz's avatar Henning Leutz :martial_arts_uniform:
Dateien durchsuchen

fix(CalculationValue): precision - bool int error

Übergeordneter 81afaecb
No related branches found
No related tags found
2 Merge Requests!172Update 'next-4.x' with latest changes from 'main',!171refactor: remove unnecessary comments in user conversion
Pipeline #15588 bestanden mit Phase
in 2 Minuten und 37 Sekunden
......@@ -71,10 +71,10 @@ public function value(): float | int
/**
* Return the CalculationValue with the wanted precision
*
* @param bool $precision
* @param bool|int $precision
* @return CalculationValue
*/
public function precision(bool $precision = false): CalculationValue
public function precision(bool | int $precision = false): CalculationValue
{
if ($precision === false) {
return $this;
......
0% oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren