Skip to content

Commit

Permalink
Merge pull request #950 from hungthai1401/wrong_comment
Browse files Browse the repository at this point in the history
[2.x] Correct some  comment messages in `OppositeExpectation`
  • Loading branch information
nunomaduro committed Sep 6, 2023
2 parents 2b0ed2b + c9e919d commit dedcc6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Expectations/OppositeExpectation.php
Expand Up @@ -185,7 +185,7 @@ public function toBeEnums(): ArchExpectation
}

/**
* Asserts that the given expectation targets is an class.
* Asserts that the given expectation targets is not class.
*/
public function toBeClass(): ArchExpectation
{
Expand Down Expand Up @@ -227,7 +227,7 @@ public function toBeInterfaces(): ArchExpectation
}

/**
* 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
*/
Expand Down

0 comments on commit dedcc6b

Please sign in to comment.