Skip to content

Commit e8c3d19

Browse files
committed
Fix validation error
1 parent a2f014b commit e8c3d19

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Node.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,7 @@ public function getLeadingCommentAndWhitespaceText() : string {
383383
foreach ($this->getDescendantTokens() as $token) {
384384
return $token->getLeadingCommentsAndWhitespaceText($fileContents);
385385
}
386+
return '';
386387
}
387388

388389
protected function getChildrenKvPairs() {

0 commit comments

Comments
 (0)