Misc fixes
This commit is contained in:
@@ -21,10 +21,9 @@ class ArrayNode extends Node implements CollapsibleNode
|
||||
$this->items = array_values($this->items);
|
||||
}
|
||||
|
||||
public function __clone()
|
||||
public function __clone(): void
|
||||
{
|
||||
$items = array_map(fn($v) => clone $v, $this->items);
|
||||
return new ArrayNode($items);
|
||||
$this->items = array_map(fn($v) => clone $v, $this->items);
|
||||
}
|
||||
|
||||
public function jsonSerialize(): mixed
|
||||
|
||||
Reference in New Issue
Block a user