Skip to content

Commit

Permalink
PHPStan fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
neildaniels committed Jan 30, 2025
1 parent eba8fea commit e9337b7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
class SessionTokenRequestListener
{
/**
* @var string|SessionBearerToken|GuestSessionToken
* @var SessionBearerToken|GuestSessionToken
*/
private $token;

Expand Down
8 changes: 0 additions & 8 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,6 @@ parameters:
count: 1
path: lib/Tmdb/Model/Movie.php

-
message: """
#^Call to deprecated method getReleases\\(\\) of class Tmdb\\\\Model\\\\Movie\\:
Use the getReleaseDates instead$#
"""
count: 1
path: lib/Tmdb/Repository/MovieRepository.php

-
message: """
#^Return type of method Tmdb\\\\Repository\\\\MovieRepository\\:\\:getReleases\\(\\) has typehint with deprecated class Tmdb\\\\Model\\\\Movie\\\\Release\\:
Expand Down

0 comments on commit e9337b7

Please sign in to comment.