File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ public function testGetExistentMenu(): void
44
44
45
45
public function testGetContainerAwareMenu (): void
46
46
{
47
- if (!interface_exists (ContainerAwareInterface::class)) {
47
+ if (!\ interface_exists (ContainerAwareInterface::class)) {
48
48
self ::markTestSkipped ('missing interface ' );
49
49
}
50
50
$ item = $ this ->getMockBuilder ('Knp\Menu\ItemInterface ' )->getMock ();
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ class ContainerAwareBuilder implements ContainerAwareInterface
11
11
{
12
12
private ContainerInterface $ container ;
13
13
14
- public function setContainer (ContainerInterface $ container = null ): void
14
+ public function setContainer (? ContainerInterface $ container = null ): void
15
15
{
16
16
$ this ->container = $ container ;
17
17
}
You can’t perform that action at this time.
0 commit comments