You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Fixed
The return type for the bind() method for both di52/php-di is void, not mixed, so ContainerInterface::bind() now properly matches.
Added
Phpstan/Psalm Generics for for get() methods, most IDE's will auto-complete class instances based on this if you pass in a class-string, e.g Some\Namespace\Some\ClassName::class and if your project uses static analysis, it will catch errors.
Union class-string params for relevant methods.
The ContainerInterface now implements declare( strict_types=1 ); as the composer.json says this project is >=7.0.0.
@method DocBlocks for missing methods for the di52 example code (this will help some with IDE autocompletion).