From e9fd572a4978acb13e111d00c319361f505264a6 Mon Sep 17 00:00:00 2001 From: Nicolas MURE Date: Mon, 13 Nov 2017 20:57:22 +0100 Subject: [PATCH] consider the merge of #511 --- src/Index/Index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Index/Index.php b/src/Index/Index.php index bb1e6b4..a5532b7 100644 --- a/src/Index/Index.php +++ b/src/Index/Index.php @@ -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 symbol names - * to global Definitions, e.g. : + * to Definitions, e.g. : * [ * 'Psr\Log\LoggerInterface' => [ * 'Psr\Log\LoggerInterface->log()' => $definition, @@ -31,7 +31,7 @@ class Index implements ReadableIndex, \Serializable /** * An associative array that maps fully qualified symbol names - * to global Definitions + * to global (ie non member) Definitions * * @var Definition[] */ @@ -307,7 +307,7 @@ class Index implements ReadableIndex, \Serializable */ private function setGlobalDefinition(string $fqn, Definition $definition) { - if ($definition->isGlobal) { + if ($definition->isMember) { $this->globalDefinitions[$fqn] = $definition; } }