Skip to content

Commit f1e411a

Browse files
fix:[lar-35] phpstan error
1 parent dd3b092 commit f1e411a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Spotlight/Article.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function searchArticle(string $query): Collection
3535
->published()
3636
->where('title', 'like', "%{$query}%")
3737
->get()
38-
->map(fn (ArticleModel $article) => new SpotlightSearchResult(
38+
->map(fn (ArticleModel $article) => new SpotlightSearchResult( // @phpstan-ignore-line
3939
$article->slug,
4040
$article->title,
4141
sprintf('par @%s', $article->user->username)

0 commit comments

Comments
 (0)