return early (this is very important)
parent
4d7e012e2f
commit
3e12d2f64b
|
@ -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