|
@@ -25,7 +25,7 @@ |
|
|
block discarded – undo |
|
25
|
25
|
if (preg_match('~\@var[\s]+([A-Za-z0-9\\\\]+)~', $comment, $matches)) { |
|
26
|
26
|
if ($includeNamespaces) { |
|
27
|
27
|
if ($reflectionClass instanceof \ReflectionClass && !in_array($matches[1], HydratableTrait::$nonObjectTypes)) { |
|
28
|
|
- return ($reflectionClass->getNamespaceName()) ? sprintf('\%s\%s', $reflectionClass->getNamespaceName(), $matches[1]) : sprintf('\%s', $matches[1]); |
|
|
28
|
+ return ($reflectionClass->getNamespaceName()) ? sprintf('\%s\%s', $reflectionClass->getNamespaceName(), $matches[1]) : sprintf('\%s', $matches[1]); |
|
29
|
29
|
} |
|
30
|
30
|
return $matches[1]; |
|
31
|
31
|
} |
Please login to merge, or discard this patch.