We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b74d62f + 7f7a0a4 commit 15ee27cCopy full SHA for 15ee27c
composer.json
@@ -32,5 +32,8 @@
32
"fix:ci": "php-cs-fixer fix --dry-run --stop-on-violation",
33
"test": "phpunit",
34
"analyse": "phpstan analyse"
35
+ },
36
+ "provide": {
37
+ "psr/container-implementation": "=1.0"
38
}
39
src/Container.php
@@ -25,7 +25,7 @@ public function has($id) {
25
/**
26
* Checks if the included version implements the interface, if it does not return an implemented instance.
27
*
28
- * @return IlluminateContainer
+ * @return IlluminateContainer|ContainerInterface
29
*/
30
public static function getInstance() {
31
if (self::isPsr11()) {
0 commit comments