Skip to content

Commit fa70a63

Browse files
committed
Remove unused variable
1 parent 422cc68 commit fa70a63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CachedBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ protected function getCacheTags() : array
9595
return collect($this->eagerLoad)->keys()
9696
->map(function ($relationName) {
9797
$relation = collect(explode('.', $relationName))
98-
->reduce(function ($carry, $name) use ($relationName) {
98+
->reduce(function ($carry, $name) {
9999
if (! $carry) {
100100
$carry = $this->model;
101101
}

0 commit comments

Comments
 (0)