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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user