From 80129f2e2367a6389b647324eee5a8c140d9ccb3 Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Tue, 30 May 2023 00:32:07 +0100 Subject: [PATCH] chore: asserts style --- src/Expectations/OppositeExpectation.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Expectations/OppositeExpectation.php b/src/Expectations/OppositeExpectation.php index 310ad3ba..9fb0df27 100644 --- a/src/Expectations/OppositeExpectation.php +++ b/src/Expectations/OppositeExpectation.php @@ -257,9 +257,6 @@ final class OppositeExpectation ); } - /** - * Asserts that the given expectation target to not only implement the given interfaces. - */ public function toOnlyImplement(array|string $interfaces): ArchExpectation { throw InvalidExpectation::fromMethods(['not', 'toOnlyImplement']); @@ -283,7 +280,6 @@ final class OppositeExpectation throw InvalidExpectation::fromMethods(['not', 'toOnlyUse']); } - public function toUseNothing(): never { throw InvalidExpectation::fromMethods(['not', 'toUseNothing']);