mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-03 19:16:51 +00:00
fix(RuleAction): add return type to getValue
This commit is contained in:
@@ -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);
|
$expr = new ActionExpression($this->action_value);
|
||||||
return $expr->evaluate($journal);
|
return $expr->evaluate($journal);
|
||||||
|
Reference in New Issue
Block a user