File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
lib/internal/Magento/Framework/Message Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 /**
You can’t perform that action at this time.
0 commit comments