We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5a46b9d + 53efe55 commit 360efcfCopy full SHA for 360efcf
composer.json
@@ -17,7 +17,7 @@
17
},
18
"require": {
19
"php": ">=7.3",
20
- "psr/container": "~1.0"
+ "psr/container": "^1.0|^2.0"
21
22
"require-dev": {
23
"phpunit/phpunit": "^9.0",
tests/Mock/ArrayContainer.php
@@ -27,7 +27,7 @@ public function get($id)
27
}
28
29
/** {@inheritDoc} */
30
- public function has($id)
+ public function has($id): bool
31
{
32
return array_key_exists($id, $this->entries);
33
0 commit comments