Skip to content

Commit 309c37b

Browse files
committed
Remove unused $scopes variable
1 parent dac9945 commit 309c37b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Http/Controllers/Admin/FeaturedController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ private function getFeaturedSources(Request $request, $featuredSection, $search
165165

166166
$items = $fetchedModules[$module] ?? $repository->get(
167167
$bucketable['with'] ?? [],
168-
($bucketable['scopes'] ?? []) + ($scopes ?? []),
168+
$bucketable['scopes'] ?? [],
169169
$bucketable['orders'] ?? [],
170170
$bucketable['per_page'] ?? $request->get('offset') ?? 10,
171171
true,

0 commit comments

Comments
 (0)