1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-21 21:31:13 +01:00

Update ext-ds.php (#3165)

This commit is contained in:
Jáchym Toušek 2020-04-17 21:07:16 +02:00 committed by GitHub
parent 7a759915ee
commit 4aac3767f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -516,9 +516,9 @@ interface Sequence extends Collection
final class Vector implements Sequence
{
/**
* @param iterable<TValue>|null $values
* @param iterable<TValue> $values
*/
public function __construct(?iterable $values = null)
public function __construct(iterable $values = [])
{
}
@ -574,9 +574,9 @@ final class Vector implements Sequence
final class Set implements Collection
{
/**
* @param iterable<TValue>|null $values
* @param iterable<TValue> $values
*/
public function __construct(?iterable $values = null)
public function __construct(iterable $values = [])
{
}