Skip to content

Commit

Permalink
Allow psr container v2
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesvdvreken committed Jul 28, 2021
1 parent 5a46b9d commit 53efe55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"require": {
"php": ">=7.3",
"psr/container": "~1.0"
"psr/container": "^1.0|^2.0"
},
"require-dev": {
"phpunit/phpunit": "^9.0",
Expand Down
2 changes: 1 addition & 1 deletion tests/Mock/ArrayContainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function get($id)
}

/** {@inheritDoc} */
public function has($id)
public function has($id): bool
{
return array_key_exists($id, $this->entries);
}
Expand Down

0 comments on commit 53efe55

Please sign in to comment.