Skip to content

Commit 7c6e4d3

Browse files
committed
Created sensible default constructor parameter
1 parent b17f285 commit 7c6e4d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Types/CypherList.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ final class CypherList implements CypherContainerInterface
4343
/**
4444
* @param iterable<T> $array
4545
*/
46-
public function __construct(iterable $array)
46+
public function __construct(iterable $array = [])
4747
{
4848
if ($array instanceof self) {
4949
$this->array = $array->array;

0 commit comments

Comments
 (0)