Skip to content

Commit a25d310

Browse files
Fixed static test fialure
1 parent b68d8b7 commit a25d310

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/internal/Magento/Framework/Message/Manager.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public function __construct(
7979
Event\ManagerInterface $eventManager,
8080
LoggerInterface $logger,
8181
$defaultGroup = self::DEFAULT_GROUP,
82-
ExceptionMessageFactoryInterface $exceptionMessageFactory = null
82+
?ExceptionMessageFactoryInterface $exceptionMessageFactory = null
8383
) {
8484
$this->session = $session;
8585
$this->messageFactory = $messageFactory;
@@ -88,7 +88,7 @@ public function __construct(
8888
$this->logger = $logger;
8989
$this->defaultGroup = $defaultGroup;
9090
$this->exceptionMessageFactory = $exceptionMessageFactory ?: ObjectManager::getInstance()
91-
->get(ExceptionMessageLookupFactory::class);
91+
->get(ExceptionMessageLookupFactory::class); // phpcs:ignore
9292
}
9393

9494
/**

0 commit comments

Comments
 (0)