File tree 2 files changed +5
-5
lines changed 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -21,12 +21,12 @@ class LoadDesignPlugin
21
21
/**
22
22
* @var DesignLoader
23
23
*/
24
- protected $ _designLoader ;
24
+ private $ designLoader ;
25
25
26
26
/**
27
27
* @var MessageManagerInterface
28
28
*/
29
- protected $ messageManager ;
29
+ private $ messageManager ;
30
30
31
31
/**
32
32
* @param DesignLoader $designLoader
@@ -36,7 +36,7 @@ public function __construct(
36
36
DesignLoader $ designLoader ,
37
37
MessageManagerInterface $ messageManager
38
38
) {
39
- $ this ->_designLoader = $ designLoader ;
39
+ $ this ->designLoader = $ designLoader ;
40
40
$ this ->messageManager = $ messageManager ;
41
41
}
42
42
@@ -50,7 +50,7 @@ public function __construct(
50
50
public function beforeExecute (ActionInterface $ subject )
51
51
{
52
52
try {
53
- $ this ->_designLoader ->load ();
53
+ $ this ->designLoader ->load ();
54
54
} catch (LocalizedException $ e ) {
55
55
if ($ e ->getPrevious () instanceof ValidationException) {
56
56
/** @var MessageInterface $message */
Original file line number Diff line number Diff line change 6
6
namespace Magento \Framework \App \Test \Unit \Action \Plugin ;
7
7
8
8
use Magento \Framework \App \Action \Action ;
9
- use Magento \Framework \App \Action \Plugin \LoadDesignPlugin ;
10
9
use Magento \Framework \App \ActionInterface ;
11
10
use Magento \Framework \Message \ManagerInterface ;
12
11
use Magento \Framework \View \DesignLoader ;
12
+ use Magento \Theme \Plugin \LoadDesignPlugin ;
13
13
use PHPUnit \Framework \MockObject \MockObject ;
14
14
use PHPUnit \Framework \TestCase ;
15
15
You can’t perform that action at this time.
0 commit comments