diff --git a/src/Expectation.php b/src/Expectation.php index 32e22d3c..9b85b24c 100644 --- a/src/Expectation.php +++ b/src/Expectation.php @@ -593,7 +593,7 @@ final class Expectation } /** - * Asserts that the given expectation target to have the given suffix. + * Asserts that the given expectation target to have the given prefix. */ public function toHavePrefix(string $prefix): ArchExpectation { diff --git a/src/Expectations/OppositeExpectation.php b/src/Expectations/OppositeExpectation.php index 367dfb92..5f436c32 100644 --- a/src/Expectations/OppositeExpectation.php +++ b/src/Expectations/OppositeExpectation.php @@ -289,7 +289,7 @@ final class OppositeExpectation } /** - * Not supported. + * Asserts that the given expectation target to not have the given prefix. */ public function toHavePrefix(string $prefix): ArchExpectation { @@ -302,7 +302,7 @@ final class OppositeExpectation } /** - * Not supported. + * Asserts that the given expectation target to not have the given suffix. */ public function toHaveSuffix(string $suffix): ArchExpectation {