Closed
Description
- symfony/process: v6.4.12
- phpstan/phpstan: 1.12.6
With Process.stub
intact:
foreach ( $process as $type => $buffer ) {
\PHPStan\dumpType($type); // mixed
\PHPStan\dumpType($buffer); // mixed
}
Same for $process->getIterator()
.
If I change the class name in the stub, so it doesn't do anything, both $type
and $buffer
are string
.
Maybe because symfony's Process
already does correct annotations? In the class phpdoc and getIterator()
phpdoc.
I'm okay with a local hack. How do I fix my Process generator?
Metadata
Metadata
Assignees
Labels
No labels