mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-17 17:47:13 +00:00
Revert "Revert "Check namespace + class to see if it exists""
This reverts commit 6eafab0ff3.
This commit is contained in:
@@ -210,7 +210,11 @@ class Collection extends \ArrayObject
|
||||
if ('' !== $namespace) {
|
||||
$namespace .= self::OPERATOR_NAMESPACE;
|
||||
}
|
||||
return self::OPERATOR_NAMESPACE . $namespace . $type;
|
||||
$with_name_space = self::OPERATOR_NAMESPACE . $namespace . $type;
|
||||
if($this->shouldBeAbsolute($with_name_space)){
|
||||
return $with_name_space;
|
||||
}
|
||||
return $type;
|
||||
}
|
||||
|
||||
if (strpos($type_parts[0], '::')) {
|
||||
|
||||
Reference in New Issue
Block a user