diff --git a/src/Currency.php b/src/Currency.php index 4cc11ab..6e0045d 100644 --- a/src/Currency.php +++ b/src/Currency.php @@ -235,6 +235,9 @@ public function __construct(string $currency) $this->thousandsSeparator = (string) $attributes['thousands_separator']; } + /** + * @psalm-suppress MixedInferredReturnType,MixedReturnStatement + */ public static function __callStatic(string $method, array $arguments): Currency { if (static::hasMacro($method)) { diff --git a/src/Money.php b/src/Money.php index 671f89b..71a04d6 100644 --- a/src/Money.php +++ b/src/Money.php @@ -283,6 +283,9 @@ protected function convertAmount(int|float $amount, bool $convert = false): int| return $amount * $this->currency->getSubunit(); } + /** + * @psalm-suppress MixedInferredReturnType,MixedReturnStatement + */ public static function __callStatic(string $method, array $arguments): Money { if (static::hasMacro($method)) {