Skip to content

Commit 454df53

Browse files
shakarannicolas-grekas
authored andcommitted
[VarDumper] prevent error in value to Typed property must not be accessed before initialization
1 parent 3c5b87f commit 454df53

File tree

1 file changed

+1
-1
lines changed
  • src/Symfony/Component/VarDumper/Cloner

1 file changed

+1
-1
lines changed

src/Symfony/Component/VarDumper/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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy