Skip to content

Commit

Permalink
Fix automated checks
Browse files Browse the repository at this point in the history
  • Loading branch information
lbajsarowicz committed Apr 24, 2020
1 parent d938e7b commit ae58f56
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions app/code/Magento/Theme/Plugin/LoadDesignPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ class LoadDesignPlugin
/**
* @var DesignLoader
*/
protected $_designLoader;
private $designLoader;

/**
* @var MessageManagerInterface
*/
protected $messageManager;
private $messageManager;

/**
* @param DesignLoader $designLoader
Expand All @@ -36,7 +36,7 @@ public function __construct(
DesignLoader $designLoader,
MessageManagerInterface $messageManager
) {
$this->_designLoader = $designLoader;
$this->designLoader = $designLoader;
$this->messageManager = $messageManager;
}

Expand All @@ -50,7 +50,7 @@ public function __construct(
public function beforeExecute(ActionInterface $subject)
{
try {
$this->_designLoader->load();
$this->designLoader->load();
} catch (LocalizedException $e) {
if ($e->getPrevious() instanceof ValidationException) {
/** @var MessageInterface $message */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
namespace Magento\Framework\App\Test\Unit\Action\Plugin;

use Magento\Framework\App\Action\Action;
use Magento\Framework\App\Action\Plugin\LoadDesignPlugin;
use Magento\Framework\App\ActionInterface;
use Magento\Framework\Message\ManagerInterface;
use Magento\Framework\View\DesignLoader;
use Magento\Theme\Plugin\LoadDesignPlugin;
use PHPUnit\Framework\MockObject\MockObject;
use PHPUnit\Framework\TestCase;

Expand Down

0 comments on commit ae58f56

Please sign in to comment.