Fix phpstan level 3!

This commit is contained in:
James Cole
2025-01-04 07:10:37 +01:00
parent cd296aa9ac
commit 2baac1a6d7
52 changed files with 113 additions and 113 deletions

View File

@@ -175,7 +175,7 @@ class UpgradesVariousCurrencyInformation extends Command
*/
private function getLeadTransaction(TransactionJournal $journal): ?Transaction
{
/** @var Transaction $lead */
/** @var Transaction|null $lead */
$lead = null;
switch ($journal->transactionType->type) {
@@ -214,7 +214,7 @@ class UpgradesVariousCurrencyInformation extends Command
break;
}
/** @var Transaction|null */
return $lead;
}