From 03eff4c6b5f0864afc17abbd947692bfed98cf72 Mon Sep 17 00:00:00 2001 From: Vincent Langlet Date: Tue, 16 May 2023 16:32:17 +0200 Subject: [PATCH] Fix cs --- Client/DelegateProcessor.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Client/DelegateProcessor.php b/Client/DelegateProcessor.php index e8a72ad..0fbe9c2 100644 --- a/Client/DelegateProcessor.php +++ b/Client/DelegateProcessor.php @@ -14,9 +14,6 @@ class DelegateProcessor implements Processor */ private $registry; - /** - * @param ProcessorRegistryInterface $registry - */ public function __construct(ProcessorRegistryInterface $registry) { $this->registry = $registry; @@ -31,10 +28,7 @@ public function process(InteropMessage $message, Context $context) { $processorName = $message->getProperty(Config::PROCESSOR); if (false == $processorName) { - throw new \LogicException(sprintf( - 'Got message without required parameter: "%s"', - Config::PROCESSOR - )); + throw new \LogicException(sprintf('Got message without required parameter: "%s"', Config::PROCESSOR)); } return $this->registry->get($processorName)->process($message, $context);