We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FilesystemMap
\IteratorAggregate<TKey, TValue>
After injecting FilesystemMap into one of my services, PHPStan reports an error:
final class MyClass { public function __construct(FilesystemMap $filesystemMap) { // ... } // ... }
Method MyClass::__construct() has parameter $filesystemMap with no value type specified in iterable type Knp\Bundle\GaufretteBundle\FilesystemMap.
A quick look at FilesystemMap revealed: it's implementing \IteratorAggregate but do not specify it's values.
\IteratorAggregate
I do think this is enough, but currently unable to test it:
/** * @implements \IteratorAggregate<string, FilesystemMap> */ class FilesystemMap implements \IteratorAggregate, FilesystemMapInterface
The text was updated successfully, but these errors were encountered:
PedroTroller
KevinArtus
muchafm
No branches or pull requests
After injecting
FilesystemMap
into one of my services, PHPStan reports an error:A quick look at
FilesystemMap
revealed: it's implementing\IteratorAggregate
but do not specify it's values.I do think this is enough, but currently unable to test it:
The text was updated successfully, but these errors were encountered: