Skip to content

Commit cbf1101

Browse files
authored
Merge pull request #287 from lachlan-00/4.x
Update StringReader.php
2 parents 3f7bc5e + 2b6bfb4 commit cbf1101

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Utils/StringReader.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ class StringReader
1515
*/
1616
public function __construct($str)
1717
{
18+
$this->pos = 0;
1819
$this->str = $str;
1920
$this->strlen = strlen($this->str);
2021
}

0 commit comments

Comments
 (0)