nullable) { $property->nullable = true; } $this->propertyDescriber->describe($types, $property, $groups, $schema, $context); } public function supports(array $types): bool { foreach ($types as $type) { if ($type->isNullable()) { return true; } } return false; } }