diff --git a/src/Model/AbstractModel.php b/src/Model/AbstractModel.php index 47c092a..55daa3b 100644 --- a/src/Model/AbstractModel.php +++ b/src/Model/AbstractModel.php @@ -244,12 +244,13 @@ public function getCasts(): array /** * @inheritdoc */ - public function originalIsEquivalent($key, $current) + public function originalIsEquivalent($key) { if (!array_key_exists($key, $this->original)) { return false; } + $current = $this->getAttribute($key); $original = $this->getOriginal($key); if ($current === $original) {