From 459b28720b39195f6ea0e45bc21bf9712165483e Mon Sep 17 00:00:00 2001 From: Alexander Schranz Date: Fri, 30 May 2025 11:00:34 +0200 Subject: [PATCH] Params of TypeArray are optional --- src/Type/Type.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Type/Type.php b/src/Type/Type.php index 97c48ba10..65730d903 100644 --- a/src/Type/Type.php +++ b/src/Type/Type.php @@ -7,7 +7,7 @@ /** * @internal * - * @phpstan-type TypeArray array{name: string, params: array} + * @phpstan-type TypeArray array{name: string, params?: array} */ final class Type {