Skip to content

Commit 0c7c0ae

Browse files
authored
v1.6.3 - fix comments for Container::get (#11)
1 parent ef589c5 commit 0c7c0ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Container.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
class Container implements ContainerInterface, ContainerRegistryInterface, ContainerDecoratorInterface
2222
{
2323
/**
24-
* @var array<class-string, object>
24+
* @var array<class-string, mixed>
2525
*/
2626
private array $services = [];
2727

@@ -43,7 +43,7 @@ class Container implements ContainerInterface, ContainerRegistryInterface, Conta
4343
*
4444
* @param class-string<T> $id
4545
*
46-
* @psalm-return object<T>
46+
* @psalm-return T
4747
*/
4848
public function get(string $id): object
4949
{

0 commit comments

Comments
 (0)