We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 711c208 commit 6365947Copy full SHA for 6365947
src/Chain/JsonSchema/Factory.php
@@ -162,7 +162,7 @@ private function getTypeSchema(Type $type): array
162
return ['type' => 'string', 'format' => 'date-time'];
163
} else {
164
// Recursively build the schema for an object type
165
- return $this->buildProperties($type->getClassName());
+ return $this->buildProperties($type->getClassName()) ?? ['type' => 'object'];
166
}
167
168
// no break
0 commit comments