Skip to content

Commit 61dc42f

Browse files
committed
fix: add #[\ReturnTypeWillChange] for jsonSerialize on new TreeNode class
Ref: ea204d0
1 parent c516562 commit 61dc42f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/TreeNode.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ public function __construct(
4848
/**
4949
* @return array<string,mixed>
5050
*/
51+
#[\ReturnTypeWillChange]
5152
public function jsonSerialize()
5253
{
5354
if ($this->children === null) {

0 commit comments

Comments
 (0)