Remove unneeded else
parent
f2a866736e
commit
f2368fece1
|
@ -47,7 +47,8 @@ class Index implements ReadableIndex
|
||||||
{
|
{
|
||||||
if (isset($this->definitions[$fqn])) {
|
if (isset($this->definitions[$fqn])) {
|
||||||
return $this->definitions[$fqn];
|
return $this->definitions[$fqn];
|
||||||
} else if ($globalFallback) {
|
}
|
||||||
|
if ($globalFallback) {
|
||||||
$parts = explode('\\', $fqn);
|
$parts = explode('\\', $fqn);
|
||||||
$fqn = end($parts);
|
$fqn = end($parts);
|
||||||
return $this->getDefinition($fqn);
|
return $this->getDefinition($fqn);
|
||||||
|
|
Loading…
Reference in New Issue