We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7e5538a + 7f729dc commit 977da00Copy full SHA for 977da00
src/Barryvdh/Reflection/DocBlock/Type/Collection.php
@@ -210,7 +210,11 @@ protected function expand($type)
210
if ('' !== $namespace) {
211
$namespace .= self::OPERATOR_NAMESPACE;
212
}
213
- return self::OPERATOR_NAMESPACE . $namespace . $type;
+ $with_name_space = self::OPERATOR_NAMESPACE . $namespace . $type;
214
+ if($this->shouldBeAbsolute($with_name_space)){
215
+ return $with_name_space;
216
+ }
217
+ return $type;
218
219
220
if (strpos($type_parts[0], '::')) {
0 commit comments