diff --git a/src/Deserialization/EventSubscriber/JsonRequestBodyDeserializationSubscriber.php b/src/Deserialization/EventSubscriber/JsonRequestBodyDeserializationSubscriber.php index 34acde8..27b8db0 100644 --- a/src/Deserialization/EventSubscriber/JsonRequestBodyDeserializationSubscriber.php +++ b/src/Deserialization/EventSubscriber/JsonRequestBodyDeserializationSubscriber.php @@ -32,7 +32,7 @@ public static function getSubscribedEvents(): array { return [ KernelEvents::REQUEST => [ - ['deserializeRequestBody', 27], + ['deserializeRequestBody', 6], ], ]; } diff --git a/tests/Deserialization/EventSubscriber/JsonRequestBodyDeserializationSubscriberTest.php b/tests/Deserialization/EventSubscriber/JsonRequestBodyDeserializationSubscriberTest.php index 5ffdc2a..4aaaef6 100644 --- a/tests/Deserialization/EventSubscriber/JsonRequestBodyDeserializationSubscriberTest.php +++ b/tests/Deserialization/EventSubscriber/JsonRequestBodyDeserializationSubscriberTest.php @@ -52,7 +52,7 @@ public function testCanGetSubscribedEvents(): void static::assertSame( [ KernelEvents::REQUEST => [ - ['deserializeRequestBody', 27], + ['deserializeRequestBody', 6], ], ], $subscribedEvents