Merge pull request #950 from hungthai1401/wrong_comment

[2.x] Correct some  comment messages in `OppositeExpectation`
This commit is contained in:
Nuno Maduro
2023-09-06 11:55:17 +01:00
committed by GitHub

View File

@ -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 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 * @param class-string $class
*/ */