Skip to content
This repository was archived by the owner on Jul 30, 2026. It is now read-only.

Fix PHPStan error - #68

Merged
TomasVotruba merged 1 commit into
rectorphp:mainfrom
staabm:fix
Oct 6, 2025
Merged

TomasVotruba merged 1 commit into
rectorphp:mainfrom
staabm:fix

Conversation

@staabm

@staabm staabm commented Oct 6, 2025

Copy link
Copy Markdown
Contributor

fixes

➜  type-perfect git:(main) ✗ vendor/bin/phpstan            
Xdebug: [Step Debug] Could not connect to debugging client. Tried: localhost:9003 (through xdebug.client_host/xdebug.client_port).
Note: Using configuration file /Users/m.staab/dvl/type-perfect/phpstan.neon.
 39/39 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%

 ------ --------------------------------------------------------------------------------------------------------------- 
  Line   src/Printer/CollectorMetadataPrinter.php                                                                       
 ------ --------------------------------------------------------------------------------------------------------------- 
  91     Parameters should have "PhpParser\Node\Stmt\ClassMethod|string" types as the only types passed to this method  
         🪪  typePerfect.narrowPublicClassMethodParamType                                                               
         at src/Printer/CollectorMetadataPrinter.php:91                                                                 
 ------ --------------------------------------------------------------------------------------------------------------- 

@TomasVotruba
TomasVotruba merged commit d4ef55b into rectorphp:main Oct 6, 2025
6 checks passed
@TomasVotruba

Copy link
Copy Markdown
Member

Thanks

@staabm
staabm deleted the fix branch October 6, 2025 07:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants