Skip to content

Commit dc722da

Browse files
authored
Fix for PHP8.2 deprecation - property must be defined in class, not dynamically (#36)
1 parent f9b66de commit dc722da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/HJSON/HJSONStringifier.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ class HJSONStringifier
2424
private $needsEscapeName = '/[,\{\[\}\]\s:#"\']|\/\/|\/\*|\'\'\'/';
2525
private $gap = '';
2626
private $indent = ' ';
27+
private $meta = null;
2728

2829
// options
2930
private $eol;

0 commit comments

Comments
 (0)