mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
refactor: logger
This commit is contained in:
@ -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']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user