🔧
This commit is contained in:
2
vendor/symfony/var-dumper/Caster/CutStub.php
vendored
2
vendor/symfony/var-dumper/Caster/CutStub.php
vendored
@@ -27,7 +27,7 @@ class CutStub extends Stub
|
||||
switch (\gettype($value)) {
|
||||
case 'object':
|
||||
$this->type = self::TYPE_OBJECT;
|
||||
$this->class = $value::class;
|
||||
$this->class = get_debug_type($value);
|
||||
|
||||
if ($value instanceof \Closure) {
|
||||
ReflectionCaster::castClosure($value, [], $this, true, Caster::EXCLUDE_VERBOSE);
|
||||
|
||||
Reference in New Issue
Block a user