Skip to content

Commit a3c7650

Browse files
Fixed failing tests with PSR-11
1 parent 631a904 commit a3c7650

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/InvokerTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,15 @@ public function testInvokeWithContainer($callable): void
6767
/**
6868
* {@inheritdoc}
6969
*/
70-
public function has($id)
70+
public function has(string $id): bool
7171
{
7272
return true;
7373
}
7474

7575
/**
7676
* {@inheritdoc}
7777
*/
78-
public function get($id)
78+
public function get(string $id)
7979
{
8080
return new Fixtures\BlankClass();
8181
}

0 commit comments

Comments
 (0)