Skip to content

Commit cee33d9

Browse files
committed
clean up
1 parent 5d9be65 commit cee33d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Parser/TypeParser.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public function enrichWithAttributes(TokenIterator $tokens, Ast\Node $type, int
109109
/**
110110
* @param list<Ast\Comment> $comments
111111
*/
112-
public function appendComments(Ast\Node $type, array $comments = []): Ast\Node
112+
private function appendComments(Ast\Node $type, array $comments): Ast\Node
113113
{
114114
if ($this->useCommentsAttributes) {
115115
$type->setAttribute(Ast\Attribute::COMMENTS, array_merge($type->getAttribute(Ast\Attribute::COMMENTS) ?? [], $comments));

0 commit comments

Comments
 (0)