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.
1 parent 42c1856 commit 40c95baCopy full SHA for 40c95ba
src/Analyzer/ClassMethodAnalyzer.php
@@ -460,7 +460,7 @@ private function getDocReturnDeclaration(ClassMethod $method)
460
&& isset($parsedComment['return'])
461
) {
462
if ($parsedComment['return'][0] instanceof NullableType) {
463
- $result = '?'.$parsedComment['return'][0]->type;
+ $result = '?' . $parsedComment['return'][0]->type;
464
} else {
465
$result = implode('|', $parsedComment['return']);
466
}
0 commit comments