File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
app/code/Magento/Developer/Model/XmlCatalog/Format Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,11 @@ class PhpStorm implements FormatInterface
21
21
const PROJECT_PATH_IDENTIFIER = '$PROJECT_DIR$ ' ;
22
22
const IDEA_PATH = '.idea ' ;
23
23
24
+ /**
25
+ * @var ReadInterface
26
+ */
27
+ private $ currentDirRead ;
28
+
24
29
/**
25
30
* @var WriteFactory
26
31
*/
@@ -37,9 +42,11 @@ class PhpStorm implements FormatInterface
37
42
* @param DomDocumentFactory $domDocumentFactory
38
43
*/
39
44
public function __construct (
45
+ ReadFactory $ readFactory ,
40
46
WriteFactory $ fileWriteFactory ,
41
47
DomDocumentFactory $ domDocumentFactory = null
42
48
) {
49
+ $ this ->currentDirRead = $ readFactory ->create (getcwd ());
43
50
$ this ->fileWriteFactory = $ fileWriteFactory ;
44
51
$ this ->domDocumentFactory = $ domDocumentFactory ?: ObjectManager::getInstance ()->get (DomDocumentFactory::class);
45
52
}
You can’t perform that action at this time.
0 commit comments