@@ -252,15 +252,15 @@ public function comes($sString, $bCaseInsensitive = false): bool
252252
253253 /**
254254 * @param int $length
255- * @param int $iOffset
255+ * @param int $offset
256256 */
257- public function peek ($ length = 1 , $ iOffset = 0 ): string
257+ public function peek ($ length = 1 , $ offset = 0 ): string
258258 {
259- $ iOffset += $ this ->currentPosition ;
260- if ($ iOffset >= $ this ->length ) {
259+ $ offset += $ this ->currentPosition ;
260+ if ($ offset >= $ this ->length ) {
261261 return '' ;
262262 }
263- return $ this ->substr ($ iOffset , $ length );
263+ return $ this ->substr ($ offset , $ length );
264264 }
265265
266266 /**
@@ -492,16 +492,16 @@ private function strsplit($sString)
492492 /**
493493 * @param string $sString
494494 * @param string $sNeedle
495- * @param int $iOffset
495+ * @param int $offset
496496 *
497497 * @return int|false
498498 */
499- private function strpos ($ sString , $ sNeedle , $ iOffset )
499+ private function strpos ($ sString , $ sNeedle , $ offset )
500500 {
501501 if ($ this ->parserSettings ->bMultibyteSupport ) {
502- return \mb_strpos ($ sString , $ sNeedle , $ iOffset , $ this ->charset );
502+ return \mb_strpos ($ sString , $ sNeedle , $ offset , $ this ->charset );
503503 } else {
504- return \strpos ($ sString , $ sNeedle , $ iOffset );
504+ return \strpos ($ sString , $ sNeedle , $ offset );
505505 }
506506 }
507507}
0 commit comments