chore: asserts style

This commit is contained in:
Nuno Maduro
2023-05-30 00:32:07 +01:00
parent 5802bbc1dd
commit 80129f2e23

View File

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