1
0
Fork 0

return early (this is very important)

pull/61/head
Igor Wiedler 2011-10-16 18:46:37 +02:00 committed by Jordi Boggiano
parent ea31039556
commit 409b2e47ae
1 changed files with 2 additions and 2 deletions

View File

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