Fix \Ds\Set::__construct()

This commit is contained in:
Jáchym Toušek 2021-06-17 16:56:00 +02:00 committed by Ivan Fedorov
parent 08e3ad51c8
commit bdf831e309
1 changed files with 1 additions and 1 deletions

View File

@ -1763,7 +1763,7 @@ namespace Ds;
*
* @link https://php.net/manual/en/ds-set.construct.php
*/
public function __construct(...$values) {}
public function __construct(iterable $values = []) {}
/**
* Adds all given values to the set that haven't already been added.