Skip to content

Commit

Permalink
fix: correct comment message in OppositeExpectation
Browse files Browse the repository at this point in the history
  • Loading branch information
hungthai1401 committed Sep 6, 2023
1 parent cc6c5bf commit c9e919d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Expectations/OppositeExpectation.php
Original file line number Diff line number Diff line change
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 c9e919d

Please sign in to comment.