mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
fix(RuleAction): add return type to getValue
This commit is contained in:
parent
fc2da9eb42
commit
d22f9c09d7
@ -95,7 +95,7 @@ class RuleAction extends Model
|
||||
);
|
||||
}
|
||||
|
||||
public function getValue(array $journal)
|
||||
public function getValue(array $journal): string
|
||||
{
|
||||
$expr = new ActionExpression($this->action_value);
|
||||
return $expr->evaluate($journal);
|
||||
|
Loading…
Reference in New Issue
Block a user