Skip to content

Commit 56a1eab

Browse files
committed
Update Node to L5.1
1 parent 2b0bcc6 commit 56a1eab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Node.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -817,7 +817,7 @@ public function newFromBuilder($attributes = array(), $connection = null)
817817
* @param Node $parent
818818
*
819819
*/
820-
public static function create(array $attributes, Node $parent = null)
820+
public static function create(array $attributes = array(), Node $parent = null)
821821
{
822822
$children = array_pull($attributes, 'children');
823823

@@ -1190,4 +1190,4 @@ public function getBounds()
11901190
{
11911191
return [ $this->getLft(), $this->getRgt() ];
11921192
}
1193-
}
1193+
}

0 commit comments

Comments
 (0)