Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c43650c

Browse files
Fix cs
1 parent 122951f commit c43650c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Symfony/Component/OptionsResolver/OptionsResolver.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1194,14 +1194,14 @@ private function splitOutsideParenthesis(string $type): array
11941194
$currentPart = '';
11951195
$parenthesisLevel = 0;
11961196

1197-
$typeLength = strlen($type);
1198-
for ($i = 0; $i < $typeLength; $i++) {
1197+
$typeLength = \strlen($type);
1198+
for ($i = 0; $i < $typeLength; ++$i) {
11991199
$char = $type[$i];
12001200

12011201
if ('(' === $char) {
1202-
$parenthesisLevel++;
1202+
++$parenthesisLevel;
12031203
} elseif (')' === $char) {
1204-
$parenthesisLevel--;
1204+
--$parenthesisLevel;
12051205
}
12061206

12071207
if ('|' === $char && 0 === $parenthesisLevel) {

0 commit comments

Comments
 (0)