Skip to content

Commit e282cb3

Browse files
committed
Parser intial line number should be 1 and not 0
1 parent 63386df commit e282cb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Sabberworm/CSS/Parser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class Parser {
3737
private $aSizeUnits;
3838
private $iLineNo;
3939

40-
public function __construct($sText, Settings $oParserSettings = null, $iLineNo = 0) {
40+
public function __construct($sText, Settings $oParserSettings = null, $iLineNo = 1) {
4141
$this->sText = $sText;
4242
$this->iCurrentPosition = 0;
4343
$this->iLineNo = $iLineNo;

0 commit comments

Comments
 (0)