@@ -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 /**
@@ -498,16 +498,16 @@ private function strsplit($sString)
498498 /**
499499 * @param string $sString
500500 * @param string $sNeedle
501- * @param int $iOffset
501+ * @param int $offset
502502 *
503503 * @return int|false
504504 */
505- private function strpos ($ sString , $ sNeedle , $ iOffset )
505+ private function strpos ($ sString , $ sNeedle , $ offset )
506506 {
507507 if ($ this ->parserSettings ->bMultibyteSupport ) {
508- return \mb_strpos ($ sString , $ sNeedle , $ iOffset , $ this ->charset );
508+ return \mb_strpos ($ sString , $ sNeedle , $ offset , $ this ->charset );
509509 } else {
510- return \strpos ($ sString , $ sNeedle , $ iOffset );
510+ return \strpos ($ sString , $ sNeedle , $ offset );
511511 }
512512 }
513513}
0 commit comments