Skip to content
Snippets Groups Projects
Commit 124ce0e3 authored by Safwan Khan's avatar Safwan Khan
Browse files

MAGETWO-36072: Move dev/tools/Magento/Tools/Di/compiler.php

- Fixed one build failure.
parent 5f60a5db
Branches
Tags
No related merge requests found
...@@ -37,7 +37,7 @@ class ClassesScanner implements ClassesScannerInterface ...@@ -37,7 +37,7 @@ class ClassesScanner implements ClassesScannerInterface
/** /**
* Retrieves list of classes for given path * Retrieves list of classes for given path
* *
* @param array $path * @param string $path
* @return array * @return array
* @throws FileSystemException * @throws FileSystemException
*/ */
...@@ -45,7 +45,7 @@ class ClassesScanner implements ClassesScannerInterface ...@@ -45,7 +45,7 @@ class ClassesScanner implements ClassesScannerInterface
{ {
$realPath = realpath($path); $realPath = realpath($path);
if (!(bool)$realPath) { if (!(bool)$realPath) {
throw new FileSystemException(new \Magento\Framework\Phrase('Invalid path: %1', $path)); throw new FileSystemException(new \Magento\Framework\Phrase('Invalid path: %1', [$path]));
} }
$recursiveIterator = new \RecursiveIteratorIterator( $recursiveIterator = new \RecursiveIteratorIterator(
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment