Skip to content

Commit

Permalink
Update Configuration.php
Browse files Browse the repository at this point in the history
Signed-off-by: Nathanael Esayeas <nathanael.esayeas@protonmail.com>
  • Loading branch information
ghostwriter committed May 1, 2023
1 parent dcad349 commit 5fa7f7e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion library/Mockery/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,8 @@ public function setDefaultMatcher($class, $matcherClass)
!$isHamcrest
) {
throw new \InvalidArgumentException(
"Matcher class must extend " . MatcherAbstract::class . ", '" . $matcherClass . "' given."
"Matcher class must be either Hamcrest matcher or extend \Mockery\Matcher\MatcherAbstract, " .
"'$matcherClass' given."
);
}

Expand Down

0 comments on commit 5fa7f7e

Please sign in to comment.