Skip to content

Commit 0449fc0

Browse files
authored
Remove missing fields from debugInfo (var_dump)
1 parent 2c71f74 commit 0449fc0

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/Types/Type.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,9 @@ public function jsonSerialize(): mixed
4646
return $this->toArray();
4747
}
4848

49+
public function __debugInfo(): array
50+
{
51+
return $this->toArray();
52+
}
53+
4954
}

0 commit comments

Comments
 (0)