Skip to content

Commit

Permalink
Remove unused $scopes variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ifox authored Oct 14, 2024
1 parent b167868 commit 073be75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Controllers/Admin/FeaturedController.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ private function getFeaturedSources(Request $request, $featuredSection, $search

$items = $fetchedModules[$module] ?? $repository->get(
$bucketable['with'] ?? [],
($bucketable['scopes'] ?? []) + ($scopes ?? []),
$bucketable['scopes'] ?? [],
$bucketable['orders'] ?? [],
$bucketable['per_page'] ?? $request->get('offset') ?? 10,
true,
Expand Down

0 comments on commit 073be75

Please sign in to comment.