Skip to content

Commit f5df1b8

Browse files
committed
fix name for object type
1 parent b2bd266 commit f5df1b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Contexts/AssignmentValue.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public function getValue()
2020

2121
if ($child) {
2222
return [
23-
'name' => $child->name(),
23+
'name' => $child->name ?? $child->className ?? null,
2424
'type' => $child->type(),
2525
];
2626
}

0 commit comments

Comments
 (0)