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 9381f67 + fcb8fe6 commit dc7d72eCopy full SHA for dc7d72e
src/DocBlock/Tags/Source.php
@@ -104,14 +104,12 @@ public function __toString() : string
104
105
$startingLine = (string) $this->startingLine;
106
107
- $lineCount = $this->lineCount !== null ? '' . $this->lineCount : '';
+ $lineCount = $this->lineCount !== null ? ' ' . $this->lineCount : '';
108
109
return $startingLine
110
- . ($lineCount !== ''
111
- ? ($startingLine || $startingLine === '0' ? ' ' : '') . $lineCount
112
- : '')
+ . $lineCount
113
. ($description !== ''
114
- ? ($startingLine || $startingLine === '0' || $lineCount !== '' ? ' ' : '') . $description
+ ? ' ' . $description
115
: '');
116
}
117
0 commit comments