From 0770a20fbf1d8b59990da29530f658df88287c6c Mon Sep 17 00:00:00 2001 From: Iqbal Maulana Date: Sun, 17 Mar 2019 17:19:13 +0700 Subject: [PATCH] fix: method originalIsEquivalent should be public --- src/Model/AbstractModel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/AbstractModel.php b/src/Model/AbstractModel.php index 4ae6e0e..4fe632d 100644 --- a/src/Model/AbstractModel.php +++ b/src/Model/AbstractModel.php @@ -239,7 +239,7 @@ public function getCasts(): array /** * @inheritdoc */ - protected function originalIsEquivalent($key, $current) + public function originalIsEquivalent($key, $current) { if (!array_key_exists($key, $this->original)) { return false;