From cb14356c449f575d192256acb33a710e92311e7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Fr=C3=A9mont?= Date: Fri, 10 Nov 2023 16:57:07 +0100 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Dmitri Perunov --- .../Symfony/EventListener/DeserializeListenerTest.php | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/Component/Tests/Symfony/EventListener/DeserializeListenerTest.php b/src/Component/Tests/Symfony/EventListener/DeserializeListenerTest.php index e3d74c4d8..3fee4eb18 100644 --- a/src/Component/Tests/Symfony/EventListener/DeserializeListenerTest.php +++ b/src/Component/Tests/Symfony/EventListener/DeserializeListenerTest.php @@ -29,14 +29,11 @@ final class DeserializeListenerTest extends TestCase { use ProphecyTrait; - /** @var HttpOperationInitiatorInterface|ObjectProphecy */ - private $operationInitiator; + private HttpOperationInitiatorInterface|ObjectProphecy $operationInitiator; - /** @var SerializerInterface|ObjectProphecy */ - private $serializer; + private SerializerInterface|ObjectProphecy $serializer; - /** @var DeserializeListener */ - private $deserializableListener; + private DeserializeListener $deserializableListener; protected function setUp(): void {