You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@trigger_error(sprintf('Passing a ReflectionClass to "%s()" is deprecated since Symfony 3.3 and will be unsupported in 4.0. Pass the class name as string instead.', __METHOD__), E_USER_DEPRECATED);
@@ -71,6 +71,17 @@ public static function castObject($obj, $class, $hasDebugInfo = false)
71
71
72
72
if ($a) {
73
73
static$publicProperties = [];
74
+
if (null === $debugClass) {
75
+
if (\PHP_VERSION_ID >= 80000) {
76
+
$debugClass = get_debug_type($obj);
77
+
} else {
78
+
$debugClass = $class;
79
+
80
+
if (isset($debugClass[15]) && "\0" === $debugClass[15]) {
0 commit comments