Skip to content

Commit 110f257

Browse files
Add more nullsafe operators
1 parent 8b64473 commit 110f257

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Caster/Caster.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public static function castObject(object $obj, string $class, bool $hasDebugInfo
6161

6262
if ($a) {
6363
static $publicProperties = [];
64-
$debugClass = $debugClass ?? get_debug_type($obj);
64+
$debugClass ??= get_debug_type($obj);
6565

6666
$i = 0;
6767
$prefixedKeys = [];

0 commit comments

Comments
 (0)