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:
parent
7a759915ee
commit
4aac3767f5
@ -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 = [])
|
||||
{
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user