mirror of
https://github.com/cp6/my-idlers.git
synced 2025-04-19 17:48:36 +00:00
Minor code update
Minor code update
This commit is contained in:
parent
17b7733258
commit
736b6c9479
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ class Pricing extends Model
|
||||||
private static function getRates($currency): float
|
private static function getRates($currency): float
|
||||||
{
|
{
|
||||||
$rate = self::refreshRates()->$currency;
|
$rate = self::refreshRates()->$currency;
|
||||||
return $rate === null ? 1.00 : $rate;
|
return $rate ?? 1.00;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function getCurrencyList(): array
|
public static function getCurrencyList(): array
|
||||||
|
|
Loading…
Add table
Reference in a new issue