Skip to content

Commit d4942fc

Browse files
JakeQZoliverklee
andauthored
Use EOF constant in DocBlock rather than null
Co-authored-by: Oliver Klee <github@oliverklee.de>
1 parent be51222 commit d4942fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
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
/**
331-
* @param list<string|null>|string|null $stopCharacters
331+
* @param list<string|self::EOF>|string|self::EOF $stopCharacters
332332
* @param array<int, Comment> $comments
333333
*
334334
* @throws UnexpectedEOFException

0 commit comments

Comments
 (0)