Skip to content

Commit

Permalink
Added abstract evaluate method to HasMoneyAttributes to make sure it …
Browse files Browse the repository at this point in the history
…is implemented
  • Loading branch information
pelmered committed May 11, 2024
1 parent 69c7166 commit 562199a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/HasMoneyAttributes.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,6 @@ public function locale(string|Closure|null $locale = null): static

return $this;
}

abstract protected function evaluate(string|Closure|null $value): mixed;
}

0 comments on commit 562199a

Please sign in to comment.