Skip to content

Commit

Permalink
Merge branch '11.4' into 11.5
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Nov 25, 2024
2 parents 9fcddfa + c9cfb9e commit 23031e0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Framework/MockObject/Runtime/Rule/Parameters.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ private function doVerify(): bool
}

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

if (count($this->invocation->parameters()) < count($this->parameters)) {
Expand Down Expand Up @@ -119,8 +119,7 @@ private function doVerify(): bool
$parameter->evaluate(
$other,
sprintf(
'Parameter %s for invocation %s does not match expected ' .
'value.',
'Parameter %s for invocation %s does not match expected value.',
$i,
$this->invocation->toString(),
),
Expand Down

0 comments on commit 23031e0

Please sign in to comment.