We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e490424 commit 358cd7dCopy full SHA for 358cd7d
PhpUnit/DefinitionHasMethodCallConstraint.php
@@ -35,7 +35,7 @@ public function evaluate($other, $description = '', $returnResult = false)
35
36
$methodCalls = $other->getMethodCalls();
37
38
- for ($currentIndex = 0; $currentIndex < $iMax = count($methodCalls); $currentIndex++) {
+ for ($currentIndex = 0; $currentIndex < count($methodCalls); $currentIndex++) {
39
list($method, $arguments) = $methodCalls[$currentIndex];
40
41
if ($method !== $this->methodName) {
0 commit comments