File tree Expand file tree Collapse file tree 3 files changed +7
-8
lines changed
lib/internal/Magento/Framework/Setup
setup/src/Magento/Setup/Model Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ class BackupRollback
42
42
/**
43
43
* Logger
44
44
*
45
- * @var LoggerInterface
45
+ * @var ConsoleLoggerInterface
46
46
*/
47
47
private $ log ;
48
48
@@ -69,14 +69,14 @@ class BackupRollback
69
69
* Constructor
70
70
*
71
71
* @param ObjectManagerInterface $objectManager
72
- * @param LoggerInterface $log
72
+ * @param ConsoleLoggerInterface $log
73
73
* @param DirectoryList $directoryList
74
74
* @param File $file
75
75
* @param Helper $fsHelper
76
76
*/
77
77
public function __construct (
78
78
ObjectManagerInterface $ objectManager ,
79
- LoggerInterface $ log ,
79
+ ConsoleLoggerInterface $ log ,
80
80
DirectoryList $ directoryList ,
81
81
File $ file ,
82
82
Helper $ fsHelper
Original file line number Diff line number Diff line change 18
18
use Magento \Framework \ObjectManager \ConfigLoaderInterface ;
19
19
use Magento \Framework \ObjectManagerInterface ;
20
20
use Magento \Framework \Setup \BackupRollback ;
21
- use Magento \Framework \Setup \LoggerInterface ;
21
+ use Magento \Framework \Setup \ConsoleLoggerInterface ;
22
22
use PHPUnit \Framework \MockObject \MockObject ;
23
23
use PHPUnit \Framework \TestCase ;
24
24
@@ -33,7 +33,7 @@ class BackupRollbackTest extends TestCase
33
33
private $ objectManager ;
34
34
35
35
/**
36
- * @var LoggerInterface |MockObject
36
+ * @var ConsoleLoggerInterface |MockObject
37
37
*/
38
38
private $ log ;
39
39
@@ -75,7 +75,7 @@ class BackupRollbackTest extends TestCase
75
75
protected function setUp (): void
76
76
{
77
77
$ this ->objectManager = $ this ->getMockForAbstractClass (ObjectManagerInterface::class);
78
- $ this ->log = $ this ->getMockForAbstractClass (LoggerInterface ::class);
78
+ $ this ->log = $ this ->getMockForAbstractClass (ConsoleLoggerInterface ::class);
79
79
$ this ->directoryList = $ this ->createMock (DirectoryList::class);
80
80
$ this ->path = realpath (__DIR__ );
81
81
$ this ->directoryList ->expects ($ this ->any ())
Original file line number Diff line number Diff line change 37
37
use Magento \Framework \Setup \FilePermissions ;
38
38
use Magento \Framework \Setup \InstallDataInterface ;
39
39
use Magento \Framework \Setup \InstallSchemaInterface ;
40
- use Magento \Framework \Setup \LoggerInterface ;
41
40
use Magento \Framework \Setup \ModuleDataSetupInterface ;
42
41
use Magento \Framework \Setup \Patch \PatchApplier ;
43
42
use Magento \Framework \Setup \Patch \PatchApplierFactory ;
@@ -136,7 +135,7 @@ class Installer
136
135
/**
137
136
* Logger
138
137
*
139
- * @var LoggerInterface
138
+ * @var ConsoleLoggerInterface
140
139
*/
141
140
private $ log ;
142
141
You can’t perform that action at this time.
0 commit comments