Skip to content

Commit

Permalink
fix struct and table constructor type hints
Browse files Browse the repository at this point in the history
  • Loading branch information
gregor-j committed Jul 25, 2024
1 parent eb7205f commit 7ab8992
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Api/IStruct.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ interface IStruct extends IJsonSerializable

/**
* Initialize this class from an array.
* @param array<string, string|bool|array<string, string>> $array Array containing the properties of this class.
* @param array<string, string|bool|array<int, array<string, string>>> $array Array containing the properties of this class.
* @throws IInvalidArgumentException
*/
public function __construct(array $array);
Expand Down
2 changes: 1 addition & 1 deletion src/Api/ITable.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ interface ITable extends IJsonSerializable

/**
* Initialize this class from an array.
* @param array<string, string|bool|array<string, string>> $array Array containing the properties of this class.
* @param array<string, string|bool|array<int, array<string, string>>> $array Array containing the properties of this class.
* @throws IInvalidArgumentException
*/
public function __construct(array $array);
Expand Down

0 comments on commit 7ab8992

Please sign in to comment.