We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efaeb5f commit 4cdc411Copy full SHA for 4cdc411
src/Traits/Caching.php
@@ -291,7 +291,7 @@ public function isCachable() : bool
291
->eagerLoad)
292
->keys()
293
->reduce(function ($carry, $related) {
294
- if (! method_exists($this, $related)
+ if (! method_exists($this->model, $related)
295
|| $carry === false
296
) {
297
return $carry;
0 commit comments