Skip to content

Commit 7261ae8

Browse files
author
Teppo Koivula
committed
Fix namespace issue with DirectoryIterator
1 parent 2abd93c commit 7261ae8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ComposerInstaller/SiteProfileInstaller.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function getInstallPath(PackageInterface $package)
6161
*/
6262
public function getNestedSiteDirectoryName($path) {
6363
$site = null;
64-
$files = new DirectoryIterator($path);
64+
$files = new \DirectoryIterator($path);
6565
foreach ($files as $file) {
6666
if ($file->isDot() || !$file->isDir()) continue;
6767
$filename = $file->getFilename();

0 commit comments

Comments
 (0)