Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit 665ccf7

Browse files
committed
STYLE: refs #975. Fix failing style test
1 parent 30d8303 commit 665ccf7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

core/controllers/components/UtilityComponent.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ public static function extractPathParams()
117117
{
118118
$i++;
119119
}
120-
for( ; $i < count($allTokens); $i++)
120+
$max = count($allTokens);
121+
for(; $i < $max; $i++)
121122
{
122123
$tokens[] = $allTokens[$i];
123124
}

0 commit comments

Comments
 (0)