Skip to content

Commit

Permalink
[VarDumper] prevent error in value to Typed property must not be acce…
Browse files Browse the repository at this point in the history
…ssed before initialization
  • Loading branch information
shakaran authored and nicolas-grekas committed Mar 13, 2024
1 parent a627f4f commit 7d2f94d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cloner/Stub.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class Stub

public int $type = self::TYPE_REF;
public string|int|null $class = '';
public mixed $value;
public mixed $value = null;
public int $cut = 0;
public int $handle = 0;
public int $refCount = 0;
Expand Down

0 comments on commit 7d2f94d

Please sign in to comment.