From 7b4c17ed78d94f80c36efd1edfd7d1d6fc48c17f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bart=C5=82omiej=20Nowak?= Date: Wed, 14 Aug 2024 07:56:18 +0200 Subject: [PATCH] phpstan fix 2 --- .../Symfony/MessengerHandleTraitDynamicReturnTypeExtension.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Type/Symfony/MessengerHandleTraitDynamicReturnTypeExtension.php b/src/Type/Symfony/MessengerHandleTraitDynamicReturnTypeExtension.php index 43be1295..cf8d3a9f 100644 --- a/src/Type/Symfony/MessengerHandleTraitDynamicReturnTypeExtension.php +++ b/src/Type/Symfony/MessengerHandleTraitDynamicReturnTypeExtension.php @@ -35,7 +35,8 @@ public function getClass(): string // todo or make it configurable with passing concrete classes names to extension config // todo or use reflection somehow to get all classes that use HandleTrait and configure it dynamically - return HandleTraitClass::class; // @phpstan-ignore-line todo temporarily hardcoded test class here + // todo temporarily hardcoded test class here + return HandleTraitClass::class; } public function isMethodSupported(MethodReflection $methodReflection): bool