Skip to content

Commit 7ab8992

Browse files
committed
fix struct and table constructor type hints
1 parent eb7205f commit 7ab8992

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Api/IStruct.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ interface IStruct extends IJsonSerializable
6161

6262
/**
6363
* Initialize this class from an array.
64-
* @param array<string, string|bool|array<string, string>> $array Array containing the properties of this class.
64+
* @param array<string, string|bool|array<int, array<string, string>>> $array Array containing the properties of this class.
6565
* @throws IInvalidArgumentException
6666
*/
6767
public function __construct(array $array);

src/Api/ITable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ interface ITable extends IJsonSerializable
6666

6767
/**
6868
* Initialize this class from an array.
69-
* @param array<string, string|bool|array<string, string>> $array Array containing the properties of this class.
69+
* @param array<string, string|bool|array<int, array<string, string>>> $array Array containing the properties of this class.
7070
* @throws IInvalidArgumentException
7171
*/
7272
public function __construct(array $array);

0 commit comments

Comments
 (0)