mirror of
https://github.com/cerbero90/json-parser.git
synced 2025-01-17 04:58:15 +01:00
Specify types for iterable
This commit is contained in:
parent
90b2f59f5a
commit
ac41f05904
@ -146,7 +146,7 @@ final class JsonParser implements IteratorAggregate
|
||||
/**
|
||||
* Eager load the JSON into an array
|
||||
*
|
||||
* @return array
|
||||
* @return array<string|int, mixed>
|
||||
*/
|
||||
public function toArray(): array
|
||||
{
|
||||
|
@ -130,7 +130,7 @@ final class Parser implements IteratorAggregate
|
||||
/**
|
||||
* Eager load the current compound into an array
|
||||
*
|
||||
* @return array
|
||||
* @return array<string|int, mixed>
|
||||
*/
|
||||
public function toArray(): array
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user