File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
lib/internal/Magento/Framework/Message Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,11 @@ class Manager implements ManagerInterface
63
63
* @var ExceptionMessageFactoryInterface
64
64
*/
65
65
private $ exceptionMessageFactory ;
66
+
67
+ /**
68
+ * @var ExceptionMessageLookupFactory
69
+ */
70
+ private $ exceptionMessageLookupFactory ;
66
71
/**
67
72
* @param Session $session
68
73
* @param Factory $messageFactory
@@ -90,7 +95,8 @@ public function __construct(
90
95
$ this ->logger = $ logger ;
91
96
$ this ->defaultGroup = $ defaultGroup ;
92
97
$ this ->exceptionMessageFactory = $ exceptionMessageFactory ?:
93
- ObjectManager::getInstance->get (ExceptionMessageLookupFactory::class);
98
+ ($ this ->exceptionMessageLookupFactory = $ exceptionMessageLookupFactory ?:
99
+ ObjectManager::getInstance ()->get (ExceptionMessageLookupFactory::class));
94
100
}
95
101
96
102
/**
You can’t perform that action at this time.
0 commit comments