File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -14,25 +14,21 @@ class DelegateProcessor implements Processor
1414 */
1515 private $ registry ;
1616
17- /**
18- * @param ProcessorRegistryInterface $registry
19- */
2017 public function __construct (ProcessorRegistryInterface $ registry )
2118 {
2219 $ this ->registry = $ registry ;
2320 }
2421
2522 /**
2623 * {@inheritdoc}
24+ *
25+ * @return string|object
2726 */
2827 public function process (InteropMessage $ message , Context $ context )
2928 {
3029 $ processorName = $ message ->getProperty (Config::PROCESSOR );
3130 if (false == $ processorName ) {
32- throw new \LogicException (sprintf (
33- 'Got message without required parameter: "%s" ' ,
34- Config::PROCESSOR
35- ));
31+ throw new \LogicException (sprintf ('Got message without required parameter: "%s" ' , Config::PROCESSOR ));
3632 }
3733
3834 return $ this ->registry ->get ($ processorName )->process ($ message , $ context );
You can’t perform that action at this time.
0 commit comments