bug #22647 [VarDumper] Fix dumping of non-nested stubs (nicolas-grekas)
This PR was merged into the 2.7 branch.
Discussion
----------
[VarDumper] Fix dumping of non-nested stubs
| Q | A
| ------------- | ---
| Branch? | 2.7
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | -
| License | MIT
| Doc PR | -
Commits
-------
dd5b7a632b
[VarDumper] Fix dumping of non-nested stubs
This commit is contained in:
commit
1c2c3fc677
@ -29,8 +29,10 @@ class StubCaster
|
|||||||
$stub->handle = $c->handle;
|
$stub->handle = $c->handle;
|
||||||
$stub->cut = $c->cut;
|
$stub->cut = $c->cut;
|
||||||
|
|
||||||
return array();
|
$a = array();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return $a;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function cutInternals($obj, array $a, Stub $stub, $isNested)
|
public static function cutInternals($obj, array $a, Stub $stub, $isNested)
|
||||||
|
Reference in New Issue
Block a user