Various phpstan fixes.

This commit is contained in:
James Cole
2023-11-04 06:52:40 +01:00
parent 633d84449a
commit dc45131f73
20 changed files with 39 additions and 150 deletions

View File

@@ -81,7 +81,7 @@ class CurrencyRepository implements CurrencyRepositoryInterface
return $rate;
}
/** @var CurrencyExchangeRate $rate */
/** @var CurrencyExchangeRate|null $rate */
$rate = $this->user->currencyExchangeRates()
->where('from_currency_id', $fromCurrency->id)
->where('to_currency_id', $toCurrency->id)