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:
Fabien Potencier 2017-05-11 10:53:06 -07:00
commit 1c2c3fc677
1 changed files with 3 additions and 1 deletions

View File

@ -29,8 +29,10 @@ class StubCaster
$stub->handle = $c->handle;
$stub->cut = $c->cut;
return array();
$a = array();
}
return $a;
}
public static function cutInternals($obj, array $a, Stub $stub, $isNested)