mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-05-04 21:23:36 +00:00
refactor: add method on RuleAction to compute action value
This commit is contained in:
@@ -51,9 +51,7 @@ class ActionFactory
|
||||
$class = self::getActionClass($action->action_type);
|
||||
app('log')->debug(sprintf('self::getActionClass("%s") = "%s"', $action->action_type, $class));
|
||||
|
||||
$expr = new ActionExpression($action->action_value);
|
||||
|
||||
return new $class($action, $expr); // @phpstan-ignore-line
|
||||
return new $class($action); // @phpstan-ignore-line
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user