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

Merge branch 'next-3.x' into 'main'

fix: correct Price.php merge conflict

See merge request !179
Übergeordnete 6a5d731c 82c2b8cb
No related branches found
No related tags found
2 Merge Requests!180Update 'next-4.x' with latest changes from 'main',!179fix: correct Price.php merge conflict
Pipeline #16599 mit Warnungen bestanden mit Phase
in 59 Sekunden
......@@ -198,8 +198,10 @@ public function getCurrency(): QUI\ERP\Currency\Currency
* @param QUI\Locale|null $Locale - based locale, in which the price is
* @return float|int|null
*/
public static function validatePrice(mixed $value, null | QUI\Locale $Locale = null): float | int | null
{
public static function validatePrice(
mixed $value,
null | QUI\Locale $Locale = null
): float | int | null {
if (is_float($value) || is_int($value)) {
return round($value, QUI\ERP\Defaults::getPrecision());
}
......
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