File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
lib/internal/Magento/Framework/Event/Invoker Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 6
6
* See COPYING.txt for license details.
7
7
*/
8
8
9
- // @codingStandardsIgnoreFile
10
-
11
9
namespace Magento \Framework \Event \Invoker ;
12
10
13
11
use Magento \Framework \Event \Observer ;
14
- use Zend \Stdlib \Exception \LogicException ;
15
12
16
13
class InvokerDefault implements \Magento \Framework \Event \InvokerInterface
17
14
{
@@ -33,8 +30,10 @@ class InvokerDefault implements \Magento\Framework\Event\InvokerInterface
33
30
* @param \Magento\Framework\Event\ObserverFactory $observerFactory
34
31
* @param \Magento\Framework\App\State $appState
35
32
*/
36
- public function __construct (\Magento \Framework \Event \ObserverFactory $ observerFactory , \Magento \Framework \App \State $ appState )
37
- {
33
+ public function __construct (
34
+ \Magento \Framework \Event \ObserverFactory $ observerFactory ,
35
+ \Magento \Framework \App \State $ appState
36
+ ) {
38
37
$ this ->_observerFactory = $ observerFactory ;
39
38
$ this ->_appState = $ appState ;
40
39
}
@@ -75,7 +74,8 @@ protected function _callObserverMethod($object, $observer)
75
74
throw new \LogicException (
76
75
sprintf (
77
76
'Observer "%s" must implement interface "%s" ' ,
78
- get_class ($ object ), \Magento \Framework \Event \ObserverInterface::class
77
+ get_class ($ object ),
78
+ \Magento \Framework \Event \ObserverInterface::class
79
79
)
80
80
);
81
81
}
You can’t perform that action at this time.
0 commit comments