diff --git a/src/Price/MultiCurrencyPrice.php b/src/Price/MultiCurrencyPrice.php index 22e25b5..d642d8f 100644 --- a/src/Price/MultiCurrencyPrice.php +++ b/src/Price/MultiCurrencyPrice.php @@ -76,7 +76,7 @@ public function add(self $multiPrice): void public function __get(string $name): ?Price { - return $this->getPrice(Currency::from($name)); + return $this->getPrice(Currency::from(strtoupper($name))); } public function __set(string $name, Price $value): void