Skip to content

Commit a5d1172

Browse files
authored
[CLEANUP] Tighten consumeUntil $comments parameter type (#1418)
1 parent d1af3bb commit a5d1172

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Parsing/ParserState.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ public function isEnd(): bool
328328

329329
/**
330330
* @param list<string|self::EOF>|string|self::EOF $stopCharacters
331-
* @param array<int, Comment> $comments
331+
* @param list<Comment> $comments
332332
*
333333
* @throws UnexpectedEOFException
334334
* @throws UnexpectedTokenException

src/RuleSet/DeclarationBlock.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ public function render(OutputFormat $outputFormat): string
255255
}
256256

257257
/**
258-
* @param array<int, Comment> $comments
258+
* @param list<Comment> $comments
259259
*
260260
* @return list<string>
261261
*

0 commit comments

Comments
 (0)