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 cd25581 commit e8d395aCopy full SHA for e8d395a
src/Framework/MockObject/Runtime/Rule/Parameters.php
@@ -41,7 +41,7 @@ final class Parameters implements ParametersRule
41
public function __construct(array $parameters)
42
{
43
foreach ($parameters as $parameter) {
44
- if (!($parameter instanceof Constraint)) {
+ if (!$parameter instanceof Constraint) {
45
$parameter = new IsEqual(
46
$parameter,
47
);
@@ -116,6 +116,7 @@ private function doVerify(): bool
116
} else {
117
$other = $this->invocation->parameters()[$i];
118
}
119
+
120
$parameter->evaluate(
121
$other,
122
sprintf(
0 commit comments