Skip to content

Commit 5897258

Browse files
authored
Merge pull request #1712 from graphicms/master
Update originalIsEquivalent to work with Laravel 5.8
2 parents ae00801 + 08868a2 commit 5897258

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/Jenssegers/Mongodb/Eloquent/Model.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ public function getCasts()
228228
/**
229229
* @inheritdoc
230230
*/
231-
protected function originalIsEquivalent($key, $current)
231+
public function originalIsEquivalent($key, $current)
232232
{
233233
if (!array_key_exists($key, $this->original)) {
234234
return false;

0 commit comments

Comments
 (0)