From 2e352c008441cee6b02000cc55502bbf5ad8078d Mon Sep 17 00:00:00 2001 From: Ash Allen Date: Tue, 1 Aug 2023 13:09:53 +0100 Subject: [PATCH] Updated comments. --- src/Expectation.php | 2 +- src/Expectations/OppositeExpectation.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 {