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

fix: correct Price.php merge conflict

Resolved an issue in src/QUI/ERP/Money/Price.php file where there was a merge conflict happening
between different versions. Now, the file is ready for further contributions.
Übergeordneter 5bf21ccc
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 #16572 bestanden mit Phase
in 3 Minuten und 25 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