Skip to content

Commit

Permalink
add phpstan error with people as wrong return type to the baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
romanpravda committed Jan 25, 2025
1 parent ea24fee commit 54aa791
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ parameters:
count: 1
path: lib/Tmdb/Factory/MovieFactory.php

-
message: "#^Return type \\(Tmdb\\\\Model\\\\Collection\\\\People\\) of method Tmdb\\\\Factory\\\\PeopleFactory\\:\\:createCollection\\(\\) should be compatible with return type \\(Tmdb\\\\Model\\\\Common\\\\GenericCollection\\<Tmdb\\\\Model\\\\AbstractModel\\>\\) of method Tmdb\\\\Factory\\\\AbstractFactory\\<Tmdb\\\\Model\\\\AbstractModel\\>\\:\\:createCollection\\(\\)$#"
count: 1
path: lib/Tmdb/Factory/PeopleFactory.php

-
message: "#^Property Tmdb\\\\HttpClient\\\\HttpClient\\:\\:\\$sessionToken is never written, only read\\.$#"
count: 1
Expand Down

0 comments on commit 54aa791

Please sign in to comment.