Skip to content

Commit bab5d1c

Browse files
committed
ACPT-1219: Fix Static Tests failures for application-Server PR
1 parent 7a9d77f commit bab5d1c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/internal/Magento/Framework/GraphQl/Exception/ExceptionFormatter.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
use GraphQL\Error\DebugFlag;
1212
use GraphQL\Error\FormattedError;
1313
use Magento\Framework\App\State;
14+
use Magento\Framework\Webapi\ErrorProcessor;
1415
use Psr\Log\LoggerInterface;
1516
use 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;

0 commit comments

Comments
 (0)