File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ public function getName(): string
6969 public function call (MessageBag $ messages , array $ options = []): ResultInterface
7070 {
7171 $ input = new Input ($ this ->getModel (), $ messages , $ options );
72- array_map (fn (InputProcessorInterface $ processor ) => $ processor ->processInput ($ input ), $ this ->inputProcessors );
72+ array_map (static fn (InputProcessorInterface $ processor ) => $ processor ->processInput ($ input ), $ this ->inputProcessors );
7373
7474 $ model = $ input ->getModel ();
7575 $ messages = $ input ->getMessageBag ();
@@ -78,7 +78,7 @@ public function call(MessageBag $messages, array $options = []): ResultInterface
7878 $ result = $ this ->platform ->invoke ($ model , $ messages , $ options )->getResult ();
7979
8080 $ output = new Output ($ model , $ result , $ messages , $ options );
81- array_map (fn (OutputProcessorInterface $ processor ) => $ processor ->processOutput ($ output ), $ this ->outputProcessors );
81+ array_map (static fn (OutputProcessorInterface $ processor ) => $ processor ->processOutput ($ output ), $ this ->outputProcessors );
8282
8383 return $ output ->getResult ();
8484 }
You can’t perform that action at this time.
0 commit comments