Skip to content

Commit 6fae6e0

Browse files
authored
Merge pull request #33 from bigcommerce/support_psr_container_v2
Update bigcommerce/injector dependency to allow psr/container v2
2 parents 4903aa5 + 6286ec6 commit 6fae6e0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"prefer-stable": true,
2424
"require": {
2525
"php": "^8.3",
26-
"bigcommerce/injector": "^4.1",
26+
"bigcommerce/injector": "^5.0",
2727
"phpspec/prophecy-phpunit": "^2.0",
2828
"phpunit/phpunit": "^11.0 || ^12.0"
2929
},

src/ProphecyMockingContainer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function get($id)
5353
* @param string $id
5454
* @return bool
5555
*/
56-
public function has($id)
56+
public function has($id): bool
5757
{
5858
return (class_exists($id) || interface_exists($id));
5959
}

0 commit comments

Comments
 (0)