Skip to content

Commit

Permalink
try to fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cevro committed Oct 27, 2024
1 parent caaa8a2 commit c839878
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Price/MultiCurrencyPrice.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c839878

Please sign in to comment.