Skip to content

Commit 2f04c0b

Browse files
committed
Fix tests for the Routing component.
1 parent 850fc5f commit 2f04c0b

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/Symfony/Component/Routing/Router.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,9 +271,9 @@ public function matchRequest(Request $request)
271271
}
272272

273273
/**
274-
* Gets the UrlMatcher instance associated with this Router.
274+
* Gets the UrlMatcher or RequestMatcher instance associated with this Router.
275275
*
276-
* @return UrlMatcherInterface A UrlMatcherInterface instance
276+
* @return UrlMatcherInterface|RequestMatcherInterface
277277
*/
278278
public function getMatcher()
279279
{

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

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

65+
/**
66+
* @group legacy
67+
*/
6568
public function testExceptionOnNoObjectReturned()
6669
{
6770
$this->expectException('LogicException');

0 commit comments

Comments
 (0)