Skip to content

Commit 0db89b2

Browse files
committed
Removed unused parameter from constructor
1 parent 6e534ad commit 0db89b2

File tree

1 file changed

+0
-6
lines changed
  • app/code/Magento/Developer/Model/XmlCatalog/Format

1 file changed

+0
-6
lines changed

app/code/Magento/Developer/Model/XmlCatalog/Format/PhpStorm.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@
1818
*/
1919
class PhpStorm implements FormatInterface
2020
{
21-
/**
22-
* @var ReadInterface
23-
*/
24-
private $currentDirRead;
2521

2622
/**
2723
* @var WriteFactory
@@ -39,11 +35,9 @@ class PhpStorm implements FormatInterface
3935
* @param DomDocumentFactory $domDocumentFactory
4036
*/
4137
public function __construct(
42-
ReadFactory $readFactory,
4338
WriteFactory $fileWriteFactory,
4439
DomDocumentFactory $domDocumentFactory = null
4540
) {
46-
$this->currentDirRead = $readFactory->create(getcwd());
4741
$this->fileWriteFactory = $fileWriteFactory;
4842
$this->domDocumentFactory = $domDocumentFactory ?: ObjectManager::getInstance()->get(DomDocumentFactory::class);
4943
}

0 commit comments

Comments
 (0)