Skip to content

Commit

Permalink
Remove unused variable [WEB-2960]
Browse files Browse the repository at this point in the history
  • Loading branch information
zachgarwood authored and nikhiltri committed Jan 17, 2025
1 parent 40086f8 commit 1da4db8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ protected function getBrowserData($prependScope = []): array

$articles = $query->get();

$formattedArticles = $articles->map(function ($article) use ($digitalPublicationId) {
$formattedArticles = $articles->map(function ($article) {
$name = $article->title;
if ($article->digitalPublication) {
$name = $article->digitalPublication->title . ' - ' . $name;
Expand Down

0 comments on commit 1da4db8

Please sign in to comment.