File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
lib/OpenApi/SchemaProvider Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -38,11 +38,11 @@ public function provideSchemas(): iterable
38
38
foreach ($ this ->fieldTypeService ->getFieldTypes () as $ fieldType ) {
39
39
$ fieldName = u ($ fieldType ->getFieldTypeIdentifier ())->camel ()->title ();
40
40
41
- yield sprintf ('Ibexa.Field.%s ' , $ fieldName ) => $ this ->buildFieldDefinitionSchema ($ fieldType ->getFieldTypeIdentifier ());
41
+ yield sprintf ('Ibexa.Field.%s ' , $ fieldName ) => $ this ->buildFieldTypeSchema ($ fieldType ->getFieldTypeIdentifier ());
42
42
}
43
43
}
44
44
45
- private function buildFieldDefinitionSchema (string $ fieldTypeIdentifier ): Schema \ObjectSchema
45
+ private function buildFieldTypeSchema (string $ fieldTypeIdentifier ): Schema \ObjectSchema
46
46
{
47
47
$ properties = [
48
48
'fieldType ' => new Schema \StringSchema (null , $ fieldTypeIdentifier ),
You can’t perform that action at this time.
0 commit comments