Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 454df53

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

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/VarDumper/Cloner/Stub.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/VarDumper/Cloner/Stub.php
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.