mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 10:07:12 +00:00
Added 'global' to the list of special namespace names indicating global space and adding namespace resolution to the param tags 'getType()' method
This commit is contained in:
@@ -330,7 +330,7 @@ class DocBlock implements \Reflector
|
||||
}
|
||||
|
||||
$namespace = '';
|
||||
if ($this->namespace != 'default') {
|
||||
if ($this->namespace != 'default' && $this->namespace != 'global') {
|
||||
$namespace = rtrim($this->namespace, '\\') . '\\';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user