🔧
This commit is contained in:
2
vendor/symfony/var-dumper/Caster/Caster.php
vendored
2
vendor/symfony/var-dumper/Caster/Caster.php
vendored
@@ -47,7 +47,7 @@ class Caster
|
||||
*
|
||||
* @param bool $hasDebugInfo Whether the __debugInfo method exists on $obj or not
|
||||
*/
|
||||
public static function castObject(object $obj, string $class, bool $hasDebugInfo = false, string $debugClass = null): array
|
||||
public static function castObject(object $obj, string $class, bool $hasDebugInfo = false, ?string $debugClass = null): array
|
||||
{
|
||||
if ($hasDebugInfo) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user