package and depencies
This commit is contained in:
4
vendor/symfony/var-dumper/Caster/CutStub.php
vendored
4
vendor/symfony/var-dumper/Caster/CutStub.php
vendored
@@ -20,14 +20,14 @@ use Symfony\Component\VarDumper\Cloner\Stub;
|
||||
*/
|
||||
class CutStub extends Stub
|
||||
{
|
||||
public function __construct($value)
|
||||
public function __construct(mixed $value)
|
||||
{
|
||||
$this->value = $value;
|
||||
|
||||
switch (\gettype($value)) {
|
||||
case 'object':
|
||||
$this->type = self::TYPE_OBJECT;
|
||||
$this->class = \get_class($value);
|
||||
$this->class = $value::class;
|
||||
|
||||
if ($value instanceof \Closure) {
|
||||
ReflectionCaster::castClosure($value, [], $this, true, Caster::EXCLUDE_VERBOSE);
|
||||
|
||||
Reference in New Issue
Block a user