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.
2 parents c58dd75 + f12d70e commit 6b76772Copy full SHA for 6b76772
src/Framework/MockObject/Matcher/Parameters.php
@@ -110,9 +110,7 @@ public function toString()
110
public function matches(PHPUnit_Framework_MockObject_Invocation $invocation)
111
{
112
$this->invocation = $invocation;
113
- $this->verify();
114
-
115
- return count($invocation->parameters) < count($this->parameters);
+ return $this->verify();
116
}
117
118
/**
@@ -156,5 +154,7 @@ public function verify()
156
154
)
157
155
);
158
+
+ return true;
159
160
0 commit comments