diff --git a/config/phpstan-baseline.neon b/config/phpstan-baseline.neon index 982bbbfef..486ed7daa 100644 --- a/config/phpstan-baseline.neon +++ b/config/phpstan-baseline.neon @@ -18,12 +18,6 @@ parameters: count: 1 path: ../src/CSSList/Document.php - - - message: '#^Call to function in_array\(\) with arguments null, list\ and true will always evaluate to false\.$#' - identifier: function.impossibleType - count: 1 - path: ../src/Parsing/ParserState.php - - message: '#^Negated boolean expression is always true\.$#' identifier: booleanNot.alwaysTrue diff --git a/src/Parsing/ParserState.php b/src/Parsing/ParserState.php index e90650d57..74ad0efef 100644 --- a/src/Parsing/ParserState.php +++ b/src/Parsing/ParserState.php @@ -328,7 +328,7 @@ public function isEnd(): bool } /** - * @param list|string $stopCharacters + * @param list|string|self::EOF $stopCharacters * @param array $comments * * @throws UnexpectedEOFException