8000 [Routing] Fix ContainerLoader and ObjectLoaderTest · symfony/symfony@abbd5ab · GitHub
[go: up one dir, main page]

Skip to content

Commit abbd5ab

Browse files
committed
[Routing] Fix ContainerLoader and ObjectLoaderTest
1 parent d2649f2 commit abbd5ab

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/Symfony/Component/Routing/Loader/ContainerLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function __construct(ContainerInterface $container)
3030
/**
3131
* {@inheritdoc}
3232
*/
33-
public function supports($resource, $type = null)
33+
public function supports($resource, string $type = null)
3434
{
3535
return 'service' === $type;
3636
}

src/Symfony/Component/Routing/Tests/Loader/ObjectLoaderTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,6 @@ public function getBadResourceStrings()
6262
];
6363
}
6464

65-
/**
66-
* @group legacy
67-
*/
6865
public function testExceptionOnNoObjectReturned()
6966
{
7067
$this->expectException('LogicException');

0 commit comments

Comments
 (0)
0