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 422cc68 commit fa70a63Copy full SHA for fa70a63
src/CachedBuilder.php
@@ -95,7 +95,7 @@ protected function getCacheTags() : array
95
return collect($this->eagerLoad)->keys()
96
->map(function ($relationName) {
97
$relation = collect(explode('.', $relationName))
98
- ->reduce(function ($carry, $name) use ($relationName) {
+ ->reduce(function ($carry, $name) {
99
if (! $carry) {
100
$carry = $this->model;
101
}
0 commit comments