consider the merge of #511
parent
14f840bd2f
commit
e9fd572a49
|
@ -17,7 +17,7 @@ class Index implements ReadableIndex, \Serializable
|
||||||
/**
|
/**
|
||||||
* An associative array that maps fully qualified names to
|
* An associative array that maps fully qualified names to
|
||||||
* an associative array that maps fully qualified symbol names
|
* an associative array that maps fully qualified symbol names
|
||||||
* to global Definitions, e.g. :
|
* to Definitions, e.g. :
|
||||||
* [
|
* [
|
||||||
* 'Psr\Log\LoggerInterface' => [
|
* 'Psr\Log\LoggerInterface' => [
|
||||||
* 'Psr\Log\LoggerInterface->log()' => $definition,
|
* 'Psr\Log\LoggerInterface->log()' => $definition,
|
||||||
|
@ -31,7 +31,7 @@ class Index implements ReadableIndex, \Serializable
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An associative array that maps fully qualified symbol names
|
* An associative array that maps fully qualified symbol names
|
||||||
* to global Definitions
|
* to global (ie non member) Definitions
|
||||||
*
|
*
|
||||||
* @var Definition[]
|
* @var Definition[]
|
||||||
*/
|
*/
|
||||||
|
@ -307,7 +307,7 @@ class Index implements ReadableIndex, \Serializable
|
||||||
*/
|
*/
|
||||||
private function setGlobalDefinition(string $fqn, Definition $definition)
|
private function setGlobalDefinition(string $fqn, Definition $definition)
|
||||||
{
|
{
|
||||||
if ($definition->isGlobal) {
|
if ($definition->isMember) {
|
||||||
$this->globalDefinitions[$fqn] = $definition;
|
$this->globalDefinitions[$fqn] = $definition;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue