diff --git a/src/Illuminate/Testing/TestResponse.php b/src/Illuminate/Testing/TestResponse.php index cce3584f4d0b..1577c65fcb6e 100644 --- a/src/Illuminate/Testing/TestResponse.php +++ b/src/Illuminate/Testing/TestResponse.php @@ -1691,8 +1691,10 @@ public function assertSessionHasErrorsIn($errorBag, $keys = [], $format = null) /** * Assert that the session does not have a given key. * - * @param string|array $key - * @param mixed $value + * @template T of (\Closure(mixed): bool)|mixed + * + * @param string|T[] $key + * @param T $value * @return $this */ public function assertSessionMissing($key, $value = null)