From ab0a3bf97f2aacdb5053e92b4368f62a877d6d76 Mon Sep 17 00:00:00 2001 From: Anton Komarev Date: Thu, 12 Oct 2023 00:28:18 +0300 Subject: [PATCH] Code style fix --- src/Calculator/TextUnicodeConverter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Calculator/TextUnicodeConverter.php b/src/Calculator/TextUnicodeConverter.php index 3b0cb4a..ef8d8ea 100644 --- a/src/Calculator/TextUnicodeConverter.php +++ b/src/Calculator/TextUnicodeConverter.php @@ -26,7 +26,7 @@ public static function convertTextToCodePoints( $values = []; $lookingFor = 1; - for ($i = 0, $iMax = \strlen($string); $i < $iMax; $i++) { + for ($i = 0, $iMax = \strlen($string); $i < $iMax; ++$i) { $thisValue = \ord($string[$i]); if ($thisValue < 128) {