We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ddc7047 commit a2a9b84Copy full SHA for a2a9b84
src/Parsing/ParserState.php
@@ -45,13 +45,13 @@ class ParserState
45
private $charset;
46
47
/**
48
- * @var int<0, max> $lineNumber
+ * @var int<1, max> $lineNumber
49
*/
50
private $lineNumber;
51
52
53
* @param string $text the complete CSS as text (i.e., usually the contents of a CSS file)
54
- * @param int<0, max> $lineNumber
+ * @param int<1, max> $lineNumber
55
56
public function __construct($text, Settings $parserSettings, int $lineNumber = 1)
57
{
@@ -73,7 +73,7 @@ public function setCharset(string $charset): void
73
}
74
75
76
- * @return int
+ * @return int<1, max>
77
78
public function currentLine()
79
0 commit comments