mirror of
https://github.com/pestphp/pest.git
synced 2026-04-21 06:27:28 +02:00
Improved generics for higher order
This commit is contained in:
@ -18,7 +18,11 @@ if (!function_exists('expect')) {
|
||||
/**
|
||||
* Creates a new expectation.
|
||||
*
|
||||
* @param mixed $value the Value
|
||||
* @template TValue
|
||||
*
|
||||
* @param TValue $value the Value
|
||||
*
|
||||
* @return Expectation<TValue>|Extendable
|
||||
*/
|
||||
function expect($value = null): Expectation|Extendable
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user