bnf/phpstan-psr-container
PHPStan dynamic return type extension for PSR-11 ContainerInterface. Improves type inference for $container->get() so services are typed correctly during static analysis. Install via Composer and include extension.neon (or use phpstan/extension-installer).
|
Package
|
Constraint
|
|---|---|
| phpstan/phpstan | ^1.0|^2.0 |
| psr/container | ^1.0|^2.0 |
None
How can I help you explore Laravel packages today?