fix(RuleAction): add return type to getValue

This commit is contained in:
Michael Thomas
2024-03-09 12:02:47 -05:00
parent fc2da9eb42
commit d22f9c09d7

View File

@@ -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);