mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
chore: adjusts return type
This commit is contained in:
@ -112,7 +112,7 @@ final class OppositeExpectation
|
||||
/**
|
||||
* Asserts that the given expectation dependency is not used.
|
||||
*/
|
||||
public function toBeUsedOnNothing(): ArchExpectation
|
||||
public function toBeUsedOnNothing(): never
|
||||
{
|
||||
throw InvalidExpectation::fromMethods(['not', 'toBeUsedOnNothing']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user