1
0
Fork 0

Remove unneeded else

pull/214/head
Felix Becker 2016-12-13 01:46:59 +01:00
parent f2a866736e
commit f2368fece1
1 changed files with 2 additions and 1 deletions

View File

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