Skip to content

Commit 3b2957a

Browse files
Fix merge
1 parent a5f0717 commit 3b2957a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
important_controllers:
22
resource: Symfony\Component\Routing\Tests\Fixtures\AttributeFixtures\RouteWithPriorityController
3-
type: annotation
3+
type: attribute
44
prefix:
55
cs: /cs
66
en: /en

Tests/Loader/YamlFileLoaderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ public function testPriorityWithPrefix()
467467
{
468468
new LoaderResolver([
469469
$loader = new YamlFileLoader(new FileLocator(\dirname(__DIR__).'/Fixtures/localized')),
470-
new class() extends AnnotationClassLoader {
470+
new class() extends AttributeClassLoader {
471471
protected function configureRoute(Route $route, \ReflectionClass $class, \ReflectionMethod $method, object $annot): void
472472
{
473473
$route->setDefault('_controller', $class->getName().'::'.$method->getName());

0 commit comments

Comments
 (0)