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']);