From c9e919dd405c9d0b582c9d3741c20a25eec0986e Mon Sep 17 00:00:00 2001 From: Thai Nguyen Hung Date: Wed, 6 Sep 2023 08:34:48 +0700 Subject: [PATCH] fix: correct comment message in `OppositeExpectation` --- src/Expectations/OppositeExpectation.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Expectations/OppositeExpectation.php b/src/Expectations/OppositeExpectation.php index c1b92610..ad2728f6 100644 --- a/src/Expectations/OppositeExpectation.php +++ b/src/Expectations/OppositeExpectation.php @@ -185,7 +185,7 @@ final class OppositeExpectation } /** - * Asserts that the given expectation targets is an class. + * Asserts that the given expectation targets is not class. */ public function toBeClass(): ArchExpectation { @@ -227,7 +227,7 @@ final class OppositeExpectation } /** - * Asserts that the given expectation target to be subclass of the given class. + * Asserts that the given expectation target to be not subclass of the given class. * * @param class-string $class */