Skip to content

Commit a8c3cd9

Browse files
author
Teppo Koivula
committed
Fix typo, basenname -> basename
1 parent b0b05d3 commit a8c3cd9

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
@@ -44,7 +44,7 @@ public function install(InstalledRepositoryInterface $repo, PackageInterface $pa
4444
$site = $this->getNestedSiteDirectoryName($path);
4545
if ($site) {
4646
$basePath = $this->getBasePath(static::BASE_PATH);
47-
$tempPath = $basePath . 'temp-' . basenname($path);
47+
$tempPath = $basePath . 'temp-' . \basename($path);
4848
$filesystem = new Filesystem();
4949
$filesystem->rename($path, $tempPath);
5050
$filesystem->rename($tempPath . '/' . $site, $basePath . $site);

0 commit comments

Comments
 (0)