From 7ab899246d4a989e98f639c21d2804e9819401cf Mon Sep 17 00:00:00 2001 From: Gregor Date: Thu, 25 Jul 2024 15:35:42 +0200 Subject: [PATCH] fix struct and table constructor type hints --- src/Api/IStruct.php | 2 +- src/Api/ITable.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Api/IStruct.php b/src/Api/IStruct.php index 981d013..78c2fb8 100644 --- a/src/Api/IStruct.php +++ b/src/Api/IStruct.php @@ -61,7 +61,7 @@ interface IStruct extends IJsonSerializable /** * Initialize this class from an array. - * @param array> $array Array containing the properties of this class. + * @param array>> $array Array containing the properties of this class. * @throws IInvalidArgumentException */ public function __construct(array $array); diff --git a/src/Api/ITable.php b/src/Api/ITable.php index 15536e0..749f17e 100644 --- a/src/Api/ITable.php +++ b/src/Api/ITable.php @@ -66,7 +66,7 @@ interface ITable extends IJsonSerializable /** * Initialize this class from an array. - * @param array> $array Array containing the properties of this class. + * @param array>> $array Array containing the properties of this class. * @throws IInvalidArgumentException */ public function __construct(array $array);