@@ -44,7 +44,7 @@ class Generator extends AbstractSchemaGenerator
44
44
/**
45
45
* Wrapper node for XML requests
46
46
*/
47
- const XML_SCHEMA_PARAMWRAPPER = 'request ' ;
47
+ private const XML_SCHEMA_PARAMWRAPPER = 'request ' ;
48
48
49
49
/**
50
50
* Swagger factory instance.
@@ -139,7 +139,7 @@ public function __construct(
139
139
}
140
140
141
141
/**
142
- * { @inheritdoc}
142
+ * @inheritdoc
143
143
*/
144
144
protected function generateSchema ($ requestedServiceMetadata , $ requestScheme , $ requestHost , $ endpointUrl )
145
145
{
@@ -199,9 +199,11 @@ protected function getGeneralInfo()
199
199
}
200
200
201
201
/**
202
- * @return string[]
202
+ * List out consumes data type
203
+ *
204
+ * @return array
203
205
*/
204
- protected function getConsumableDatatypes ()
206
+ private function getConsumableDatatypes ()
205
207
{
206
208
return [
207
209
'application/json ' ,
@@ -210,9 +212,11 @@ protected function getConsumableDatatypes()
210
212
}
211
213
212
214
/**
213
- * @return string[]
215
+ * List out produces data type
216
+ *
217
+ * @return array
214
218
*/
215
- protected function getProducibleDatatypes ()
219
+ private function getProducibleDatatypes ()
216
220
{
217
221
return [
218
222
'application/json ' ,
@@ -631,7 +635,7 @@ protected function getDefinitionReference($typeName)
631
635
/**
632
636
* Get the CamelCased type name in 'hyphen-separated-lowercase-words' format
633
637
*
634
- * e .g. test-module5-v1-entity-all-soap-and-rest
638
+ * E .g. test-module5-v1-entity-all-soap-and-rest
635
639
*
636
640
* @param string $typeName
637
641
* @return string
0 commit comments