Skip to content

Commit c9cfb9e

Browse files
Merge branch '10.5' into 11.4
2 parents b9f937e + c5c3502 commit c9cfb9e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Framework/MockObject/Runtime/Rule/Parameters.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ private function doVerify(): bool
9090
}
9191

9292
if ($this->invocation === null) {
93-
throw new ExpectationFailedException('Mocked method does not exist.');
93+
throw new ExpectationFailedException('Doubled method does not exist.');
9494
}
9595

9696
if (count($this->invocation->parameters()) < count($this->parameters)) {
@@ -119,8 +119,7 @@ private function doVerify(): bool
119119
$parameter->evaluate(
120120
$other,
121121
sprintf(
122-
'Parameter %s for invocation %s does not match expected ' .
123-
'value.',
122+
'Parameter %s for invocation %s does not match expected value.',
124123
$i,
125124
$this->invocation->toString(),
126125
),

0 commit comments

Comments
 (0)