Skip to content

Commit 6b76772

Browse files
Merge branch '1.2' of github.com:zwilias/phpunit-mock-objects
2 parents c58dd75 + f12d70e commit 6b76772

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Framework/MockObject/Matcher/Parameters.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,7 @@ public function toString()
110110
public function matches(PHPUnit_Framework_MockObject_Invocation $invocation)
111111
{
112112
$this->invocation = $invocation;
113-
$this->verify();
114-
115-
return count($invocation->parameters) < count($this->parameters);
113+
return $this->verify();
116114
}
117115

118116
/**
@@ -156,5 +154,7 @@ public function verify()
156154
)
157155
);
158156
}
157+
158+
return true;
159159
}
160160
}

0 commit comments

Comments
 (0)