8000 [VarDumper] Fix dumping of non-nested stubs · symfony/symfony@dd5b7a6 · GitHub
[go: up one dir, main page]

Skip to content

Commit dd5b7a6

Browse files
[VarDumper] Fix dumping of non-nested stubs
1 parent fd9459c commit dd5b7a6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Symfony/Component/VarDumper/Caster/StubCaster.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,10 @@ public static function castStub(Stub $c, array $a, Stub $stub, $isNested)
2929
$stub->handle = $c->handle;
3030
$stub->cut = $c->cut;
3131

32-
return array();
32+
$a = array();
3333
}
34+
35+
return $a;
3436
}
3537

3638
public static function cutInternals($obj, array $a, Stub $stub, $isNested)

0 commit comments

Comments
 (0)
0