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
Keine zugehörigen Branchen gefunden
Keine zugehörigen Tags gefunden
2 Merge Requests!172Update 'next-4.x' with latest changes from 'main',!171refactor: remove unnecessary comments in user conversion
Pipeline-Nr. 15588 bestanden
......@@ -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% Lade oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren