diff --git a/src/Expectation.php b/src/Expectation.php index 0df76ac2..aebbdd68 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 55261be8..e857009d 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 {