Skip to content

Commit 3319ea0

Browse files
committed
Keep it PHP 5.6 compatible for now
1 parent 4355d78 commit 3319ea0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

app/code/Magento/SampleData/Model/Dependency.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,16 +51,17 @@ class Dependency
5151
* @param Filesystem\Directory\ReadInterfaceFactory $directoryReadFactory
5252
* @throws \RuntimeException
5353
*/
54+
// @codingStandardsIgnoreStart
5455
public function __construct(
5556
ComposerInformation $composerInformation,
5657
// $filesystem kept for BC
57-
// @codingStandardsIgnoreLine
5858
Filesystem $filesystem,
5959
PackageFactory $packageFactory,
6060
ComponentRegistrarInterface $componentRegistrar,
6161
// $directoryReadFactory optional for BC
6262
Filesystem\Directory\ReadInterfaceFactory $directoryReadFactory = null
6363
) {
64+
// @codingStandardsIgnoreEnd
6465
$this->composerInformation = $composerInformation;
6566
$this->packageFactory = $packageFactory;
6667
$this->componentRegistrar = $componentRegistrar;
@@ -115,7 +116,7 @@ protected function getSuggestsFromModules()
115116
* @return Package
116117
* @throws \Magento\Framework\Exception\FileSystemException
117118
*/
118-
private function getModuleComposerPackage($moduleDir): Package
119+
private function getModuleComposerPackage($moduleDir)
119120
{
120121
/*
121122
* Also look in parent directory of registered module directory to allow modules to follow the pds/skeleton

0 commit comments

Comments
 (0)