Skip to content

Commit

Permalink
Merge pull request #1475 from tobilektri/patch-1
Browse files Browse the repository at this point in the history
Allow psr/container 2.0.2
  • Loading branch information
goetas authored Feb 17, 2023
2 parents e996338 + 2e70451 commit ac0b16e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"phpbench/phpbench": "^1.0",
"phpstan/phpstan": "^1.0.2",
"phpunit/phpunit": "^8.5.21||^9.0",
"psr/container": "^1.0",
"psr/container": "^1.0|^2.0",
"symfony/dependency-injection": "^3.0|^4.0|^5.0|^6.0",
"symfony/expression-language": "^3.2|^4.0|^5.0|^6.0",
"symfony/filesystem": "^3.0|^4.0|^5.0|^6.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function get($id)
return $this->services[$id];
}

public function has($id)
public function has($id): bool
{
return isset($this->services[$id]);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function get($id)
return $this->services[$id];
}

public function has($id)
public function has($id): bool
{
return isset($this->services[$id]);
}
Expand Down

0 comments on commit ac0b16e

Please sign in to comment.