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 11
11
use GraphQL \Error \DebugFlag ;
12
12
use GraphQL \Error \FormattedError ;
13
13
use Magento \Framework \App \State ;
14
+ use Magento \Framework \Webapi \ErrorProcessor ;
14
15
use Psr \Log \LoggerInterface ;
15
16
use Throwable ;
16
17
@@ -33,9 +34,11 @@ class ExceptionFormatter
33
34
34
35
/**
35
36
* @param State $appState
37
+ * @param ErrorProcessor $errorProcessor
36
38
* @param LoggerInterface $logger
39
+ * @SuppressWarnings(PHPMD.UnusedFormalParameter)
37
40
*/
38
- public function __construct (State $ appState , LoggerInterface $ logger )
41
+ public function __construct (State $ appState , ErrorProcessor $ errorProcessor , LoggerInterface $ logger )
39
42
{
40
43
$ this ->appState = $ appState ;
41
44
$ this ->logger = $ logger ;
You can’t perform that action at this time.
0 commit comments