mirror of
https://github.com/pestphp/pest.git
synced 2026-03-11 18:27:23 +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.
|
* Asserts that the given expectation dependency is not used.
|
||||||
*/
|
*/
|
||||||
public function toBeUsedOnNothing(): ArchExpectation
|
public function toBeUsedOnNothing(): never
|
||||||
{
|
{
|
||||||
throw InvalidExpectation::fromMethods(['not', 'toBeUsedOnNothing']);
|
throw InvalidExpectation::fromMethods(['not', 'toBeUsedOnNothing']);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user