Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
h4kuna committed Nov 14, 2023
1 parent 4b1b5c1 commit 5e5c36b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
github: ["h4kuna"]
custom: ["https://revolut.me/milan2m/czk1000/library"]
custom: ["https://revolut.me/milan2m/czk1000/exchange"]
1 change: 1 addition & 0 deletions src/Exchange.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ public function modify(?string $to = null, ?string $from = null, ?CacheEntity $c
$exchange->ratingList = $this->ratingList->modify($cacheEntity);
}

// add currency code instead of Property, because load new data from cache
$exchange->setFrom($from ?? $this->from->code);
$exchange->setTo($to ?? $this->to->code);

Expand Down

0 comments on commit 5e5c36b

Please sign in to comment.