mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 15:57:21 +01: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