File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
lib/internal/Magento/Framework/GraphQl/Exception Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 1111use GraphQL \Error \DebugFlag ;
1212use GraphQL \Error \FormattedError ;
1313use Magento \Framework \App \State ;
14+ use Magento \Framework \Webapi \ErrorProcessor ;
1415use Psr \Log \LoggerInterface ;
1516use Throwable ;
1617
@@ -33,9 +34,11 @@ class ExceptionFormatter
3334
3435 /**
3536 * @param State $appState
37+ * @param ErrorProcessor $errorProcessor
3638 * @param LoggerInterface $logger
39+ * @SuppressWarnings(PHPMD.UnusedFormalParameter)
3740 */
38- public function __construct (State $ appState , LoggerInterface $ logger )
41+ public function __construct (State $ appState , ErrorProcessor $ errorProcessor , LoggerInterface $ logger )
3942 {
4043 $ this ->appState = $ appState ;
4144 $ this ->logger = $ logger ;
You can’t perform that action at this time.
0 commit comments