Skip to content

Commit

Permalink
MAGETWO-67507: Fixed coding standard violations in the Framework\Even…
Browse files Browse the repository at this point in the history
…t namespace #9253
  • Loading branch information
vrann authored Apr 19, 2017
2 parents 2bbaceb + 3299820 commit c355c35
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/internal/Magento/Framework/Event/Invoker/InvokerDefault.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,9 @@
* See COPYING.txt for license details.
*/

// @codingStandardsIgnoreFile

namespace Magento\Framework\Event\Invoker;

use Magento\Framework\Event\Observer;
use Zend\Stdlib\Exception\LogicException;

class InvokerDefault implements \Magento\Framework\Event\InvokerInterface
{
Expand All @@ -33,8 +30,10 @@ class InvokerDefault implements \Magento\Framework\Event\InvokerInterface
* @param \Magento\Framework\Event\ObserverFactory $observerFactory
* @param \Magento\Framework\App\State $appState
*/
public function __construct(\Magento\Framework\Event\ObserverFactory $observerFactory, \Magento\Framework\App\State $appState)
{
public function __construct(
\Magento\Framework\Event\ObserverFactory $observerFactory,
\Magento\Framework\App\State $appState
) {
$this->_observerFactory = $observerFactory;
$this->_appState = $appState;
}
Expand Down Expand Up @@ -75,7 +74,8 @@ protected function _callObserverMethod($object, $observer)
throw new \LogicException(
sprintf(
'Observer "%s" must implement interface "%s"',
get_class($object), \Magento\Framework\Event\ObserverInterface::class
get_class($object),
\Magento\Framework\Event\ObserverInterface::class
)
);
}
Expand Down

0 comments on commit c355c35

Please sign in to comment.