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 4438ee7 commit 5bb97a9Copy full SHA for 5bb97a9
src/DocBlock/Tags/Source.php
@@ -107,7 +107,11 @@ public function __toString() : string
107
$lineCount = $this->lineCount !== null ? '' . $this->lineCount : '';
108
109
return $startingLine
110
- . ($lineCount !== '' ? ($startingLine || $startingLine === '0' ? ' ' : '') . $lineCount : '')
111
- . ($description !== '' ? ($startingLine || $startingLine === '0' || $lineCount !== '' ? ' ' : '') . $description : '');
+ . ($lineCount !== ''
+ ? ($startingLine || $startingLine === '0' ? ' ' : '') . $lineCount
112
+ : '')
113
+ . ($description !== ''
114
+ ? ($startingLine || $startingLine === '0' || $lineCount !== '' ? ' ' : '') . $description
115
+ : '');
116
}
117
0 commit comments