return early (this is very important)
parent
ea31039556
commit
409b2e47ae
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue