mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Final set of php8.4 changes.
This commit is contained in:
@@ -78,8 +78,8 @@ class UpgradesRuleActions extends Command
|
||||
|
||||
/** @var RuleAction $action */
|
||||
foreach ($actions as $action) {
|
||||
if (str_starts_with($action->action_value, '=')) {
|
||||
$action->action_value = sprintf('%s%s', '\=', substr($action->action_value, 1));
|
||||
if (str_starts_with((string) $action->action_value, '=')) {
|
||||
$action->action_value = sprintf('%s%s', '\=', substr((string) $action->action_value, 1));
|
||||
$action->save();
|
||||
++$count;
|
||||
}
|
||||
|
@@ -234,7 +234,7 @@ class UpgradesToGroups extends Command
|
||||
$categoryId = $this->getTransactionCategory($transaction, $opposingTr) ?? $categoryId;
|
||||
|
||||
return [
|
||||
'type' => strtolower($journal->transactionType->type),
|
||||
'type' => strtolower((string) $journal->transactionType->type),
|
||||
'date' => $journal->date,
|
||||
'user' => $journal->user,
|
||||
'user_group' => $journal->user->userGroup,
|
||||
|
Reference in New Issue
Block a user