Skip to content

Commit 4e9dbbd

Browse files
committed
Fix psr/container 2.0 support
1 parent a9e782e commit 4e9dbbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Container/LaravelContainer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function get($id)
4848
*
4949
* @return bool
5050
*/
51-
public function has($id)
51+
public function has($id): bool
5252
{
5353
if ($this->container->bound($id) || $this->container->resolved($id)) {
5454
return true;

0 commit comments

Comments
 (0)