File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ class Index implements ReadableIndex, \Serializable
1717 /**
1818 * An associative array that maps fully qualified names to
1919 * an associative array that maps fully qualified symbol names
20- * to global Definitions, e.g. :
20+ * to Definitions, e.g. :
2121 * [
2222 * 'Psr\Log\LoggerInterface' => [
2323 * 'Psr\Log\LoggerInterface->log()' => $definition,
@@ -31,7 +31,7 @@ class Index implements ReadableIndex, \Serializable
3131
3232 /**
3333 * An associative array that maps fully qualified symbol names
34- * to global Definitions
34+ * to global (ie non member) Definitions
3535 *
3636 * @var Definition[]
3737 */
@@ -307,7 +307,7 @@ public function serialize()
307307 */
308308 private function setGlobalDefinition (string $ fqn , Definition $ definition )
309309 {
310- if ($ definition ->isGlobal ) {
310+ if ($ definition ->isMember ) {
311311 $ this ->globalDefinitions [$ fqn ] = $ definition ;
312312 }
313313 }
You can’t perform that action at this time.
0 commit comments