1
0
Fork 0

return early (this is very important)

pull/44/head
Igor Wiedler 2011-10-16 18:46:37 +02:00
parent 4d7e012e2f
commit 3e12d2f64b
1 changed files with 2 additions and 2 deletions

View File

@ -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();
}
}