From 2cdd5e3ba0631509cfedff6958b49a36373d34d2 Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Sat, 21 Oct 2023 11:06:26 +0100 Subject: [PATCH] fix: infer generic type from expectation --- src/Functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Functions.php b/src/Functions.php index 465f3add..09a65e92 100644 --- a/src/Functions.php +++ b/src/Functions.php @@ -24,8 +24,8 @@ * * @template TValue * - * @param TValue|null $value - * @return Expectation + * @param TValue $value + * @return Expectation */ function expect(mixed $value = null): Expectation {