Skip to content

Commit 358cd7d

Browse files
Remove unused variable
1 parent e490424 commit 358cd7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PhpUnit/DefinitionHasMethodCallConstraint.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function evaluate($other, $description = '', $returnResult = false)
3535

3636
$methodCalls = $other->getMethodCalls();
3737

38-
for ($currentIndex = 0; $currentIndex < $iMax = count($methodCalls); $currentIndex++) {
38+
for ($currentIndex = 0; $currentIndex < count($methodCalls); $currentIndex++) {
3939
list($method, $arguments) = $methodCalls[$currentIndex];
4040

4141
if ($method !== $this->methodName) {

0 commit comments

Comments
 (0)