Skip to content

Commit 8778259

Browse files
committed
Moved name generators one priority more
1 parent b8e1c05 commit 8778259

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/Name/Generator/CommandNameGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function add(string $regexp, NameGeneratorInterface $generator): CommandN
2828
public static function getSubscribedEvents(): array
2929
{
3030
return [
31-
ConsoleCommandEvent::class => ['onCommand', 30],
31+
ConsoleCommandEvent::class => ['onCommand', 31],
3232
ConsoleTerminateEvent::class => ['onTerminate'],
3333
];
3434
}

src/Name/Generator/ControllerNameGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class ControllerNameGenerator implements NameGeneratorInterface, EventSubscriber
1414
public static function getSubscribedEvents(): array
1515
{
1616
return [
17-
RequestEvent::class => ['onRequest', 30],
17+
RequestEvent::class => ['onRequest', 31],
1818
TerminateEvent::class => ['onTerminate', -16384],
1919
];
2020
}

src/Name/Generator/DefaultNameGenerator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ class DefaultNameGenerator implements NameGeneratorInterface, EventSubscriberInt
1616
public static function getSubscribedEvents(): array
1717
{
1818
return [
19-
RequestEvent::class => ['onRequest', 30],
20-
ConsoleCommandEvent::class => ['onCommand', 30],
19+
RequestEvent::class => ['onRequest', 31],
20+
ConsoleCommandEvent::class => ['onCommand', 31],
2121
TerminateEvent::class => ['onTerminate', -16384],
2222
ConsoleTerminateEvent::class => ['onTerminate'],
2323
];

src/Name/Generator/RequestNameGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function add(string $regexp, NameGeneratorInterface $generator): RequestN
2828
public static function getSubscribedEvents(): array
2929
{
3030
return [
31-
RequestEvent::class => ['onRequest', 30],
31+
RequestEvent::class => ['onRequest', 31],
3232
TerminateEvent::class => ['onTerminate', -16384],
3333
];
3434
}

0 commit comments

Comments
 (0)