Skip to content

Commit

Permalink
update phpstan-baseline.neon
Browse files Browse the repository at this point in the history
  • Loading branch information
babenkoivan committed Sep 27, 2024
1 parent 2a53322 commit b23bcea
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,6 @@ parameters:
count: 1
path: src/Decorators/SearchResult.php

-
message: "#^Cannot call method searchableAs\\(\\) on Illuminate\\\\Database\\\\Eloquent\\\\Model\\|null\\.$#"
count: 2
path: src/Engine.php

-
message: "#^Method Elastic\\\\ScoutDriverPlus\\\\Factories\\\\ModelFactory\\:\\:makeFromIndexNameAndDocumentIds\\(\\) should return Illuminate\\\\Database\\\\Eloquent\\\\Collection but returns array\\<Illuminate\\\\Database\\\\Eloquent\\\\Builder\\>\\|Illuminate\\\\Database\\\\Eloquent\\\\Collection\\.$#"
count: 1
path: src/Factories/ModelFactory.php

-
message: "#^Cannot call method makeFromModels\\(\\) on mixed\\.$#"
count: 1
path: src/Jobs/RemoveFromSearch.php

-
message: "#^Cannot call method searchableAs\\(\\) on mixed\\.$#"
count: 1
Expand All @@ -34,8 +19,3 @@ parameters:
message: "#^Method Elastic\\\\ScoutDriverPlus\\\\NullEngine\\:\\:map\\(\\) should return Illuminate\\\\Database\\\\Eloquent\\\\Collection but returns Illuminate\\\\Support\\\\Collection\\<\\*NEVER\\*, \\*NEVER\\*\\>\\.$#"
count: 1
path: src/NullEngine.php

-
message: "#^Cannot call method extend\\(\\) on mixed\\.$#"
count: 1
path: src/ServiceProvider.php

0 comments on commit b23bcea

Please sign in to comment.