Skip to content

Commit faed10a

Browse files
author
Christian Leucht
committed
Package // revert changes of da60d75 which introduced array_values() cast in Package::new().
1 parent d638ed2 commit faed10a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Package.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -207,12 +207,12 @@ class Package
207207
*/
208208
public static function new(Properties $properties, ContainerInterface ...$containers): Package
209209
{
210-
return new self($properties, ...array_values($containers));
210+
return new self($properties, ...$containers);
211211
}
212212

213213
/**
214214
* @param Properties $properties
215-
* @param ContainerInterface $containers
215+
* @param ContainerInterface ...$containers
216216
*/
217217
private function __construct(Properties $properties, ContainerInterface ...$containers)
218218
{

0 commit comments

Comments
 (0)