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:
@@ -109,8 +109,8 @@ class SearchRuleEngine implements RuleEngineInterface
|
||||
continue;
|
||||
}
|
||||
$contextSearch = $ruleTrigger->trigger_type;
|
||||
if (str_starts_with($ruleTrigger->trigger_type, '-')) {
|
||||
$contextSearch = substr($ruleTrigger->trigger_type, 1);
|
||||
if (str_starts_with((string) $ruleTrigger->trigger_type, '-')) {
|
||||
$contextSearch = substr((string) $ruleTrigger->trigger_type, 1);
|
||||
}
|
||||
|
||||
// if the trigger needs no context, value is different:
|
||||
|
Reference in New Issue
Block a user