diff --git a/src/Model/Currency.php b/src/Model/Currency.php index 6203c6b8..915e5ecd 100644 --- a/src/Model/Currency.php +++ b/src/Model/Currency.php @@ -70,7 +70,7 @@ protected function getFormatter(): IntlFormatter public function toCurrency(null|float|int|string|Decimal $value, array|string $pattern = 'default'): string { - if ($value == null) { + if ($value === null) { return ''; }