Skip to content

Commit 59f203f

Browse files
[HttpKernel] tests for DumpListener
1 parent cbb342e commit 59f203f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cloner/AbstractCloner.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ protected function castObject($obj, Stub $stub, $isNested)
200200
}
201201

202202
if ($classInfo[1]) {
203-
$a = $this->callCaster(array($obj, '__debugInfo'), $obj, array(), null, $isNested);
203+
$a = $this->callCaster(function ($obj) {return $obj->__debugInfo();}, $obj, array(), null, $isNested);
204204
} else {
205205
$a = (array) $obj;
206206
}

0 commit comments

Comments
 (0)