Skip to content
This repository has been archived by the owner on Nov 9, 2021. It is now read-only.

Commit

Permalink
Currency set.
Browse files Browse the repository at this point in the history
  • Loading branch information
rennokki committed May 11, 2021
1 parent 4334c05 commit 2fd9bdb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Concerns/HasPrice.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ public function price(float $price, string $currency = null)
/**
* Set the currency for the plan.
*
* @param string $currency
* @param string|null $currency
* @return self
*/
public function currency(string $currency)
public function currency(string $currency = null)
{
$this->currency = $currency ?: $this->currency;

Expand Down

0 comments on commit 2fd9bdb

Please sign in to comment.