Skip to content

Commit

Permalink
MAGETWO-42267: Apply any other changes from prototype
Browse files Browse the repository at this point in the history
- Fixed a static error.
  • Loading branch information
safwkhan committed Sep 14, 2015
1 parent 7a745f4 commit b08b20a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
*/
namespace Magento\Framework\Css\PreProcessor\File\Collector;

use Magento\Framework\App\Filesystem\DirectoryList;
use Magento\Framework\Component\ComponentRegistrar;
use Magento\Framework\Component\ComponentRegistrarInterface;
use Magento\Framework\Filesystem;
use Magento\Framework\Filesystem\Directory\ReadFactory;
Expand Down Expand Up @@ -86,7 +84,9 @@ public function getFiles(ThemeInterface $theme, $filePath)

foreach ($theme->getInheritedThemes() as $currentTheme) {
$themeFullPath = $currentTheme->getFullPath();
$path = $this->componentRegistrar->getPath(ComponentRegistrar::THEME, $themeFullPath);
$path = $this->componentRegistrar->getPath(
\Magento\Framework\Component\ComponentRegistrar::THEME, $themeFullPath
);
if (empty($path)) {
continue;
}
Expand Down

0 comments on commit b08b20a

Please sign in to comment.