return early (this is very important)

main
Igor Wiedler 13 years ago committed by Jordi Boggiano
parent ea31039556
commit 409b2e47ae

@ -128,8 +128,8 @@ class LibraryInstaller implements InstallerInterface
{
if (null === $package->getInstallAs()) {
return ($this->directory ? $this->directory.'/' : '').$package->getName();
} else {
return ($this->directory ? $this->directory.'/' : '').$package->getInstallAs();
}
return ($this->directory ? $this->directory.'/' : '').$package->getInstallAs();
}
}

Loading…
Cancel
Save