Skip to content

Commit 7d2f94d

Browse files
shakarannicolas-grekas
authored andcommitted
[VarDumper] prevent error in value to Typed property must not be accessed before initialization
1 parent a627f4f commit 7d2f94d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cloner/Stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class Stub
3535

3636
public int $type = self::TYPE_REF;
3737
public string|int|null $class = '';
38-
public mixed $value;
38+
public mixed $value = null;
3939
public int $cut = 0;
4040
public int $handle = 0;
4141
public int $refCount = 0;

0 commit comments

Comments
 (0)