refactor: logger

This commit is contained in:
Nuno Maduro
2024-06-25 21:09:10 +01:00
parent 04c39bae2e
commit eac6585a2e
6 changed files with 6 additions and 35 deletions

View File

@ -292,10 +292,8 @@ final class OppositeExpectation
/**
* Not supported.
*
* @param array<int, class-string>|string $interfaces
*/
public function toOnlyImplement(array|string $interfaces): never
public function toOnlyImplement(): never
{
throw InvalidExpectation::fromMethods(['not', 'toOnlyImplement']);
}
@ -328,10 +326,8 @@ final class OppositeExpectation
/**
* Not supported.
*
* @param array<int, string>|string $targets
*/
public function toOnlyUse(array|string $targets): never
public function toOnlyUse(): never
{
throw InvalidExpectation::fromMethods(['not', 'toOnlyUse']);
}