@@ -44,7 +44,7 @@ class Generator extends AbstractSchemaGenerator
4444 /**
4545 * Wrapper node for XML requests
4646 */
47- const XML_SCHEMA_PARAMWRAPPER = 'request ' ;
47+ private const XML_SCHEMA_PARAMWRAPPER = 'request ' ;
4848
4949 /**
5050 * Swagger factory instance.
@@ -139,7 +139,7 @@ public function __construct(
139139 }
140140
141141 /**
142- * { @inheritdoc}
142+ * @inheritdoc
143143 */
144144 protected function generateSchema ($ requestedServiceMetadata , $ requestScheme , $ requestHost , $ endpointUrl )
145145 {
@@ -199,9 +199,11 @@ protected function getGeneralInfo()
199199 }
200200
201201 /**
202- * @return string[]
202+ * List out consumes data type
203+ *
204+ * @return array
203205 */
204- protected function getConsumableDatatypes ()
206+ private function getConsumableDatatypes ()
205207 {
206208 return [
207209 'application/json ' ,
@@ -210,9 +212,11 @@ protected function getConsumableDatatypes()
210212 }
211213
212214 /**
213- * @return string[]
215+ * List out produces data type
216+ *
217+ * @return array
214218 */
215- protected function getProducibleDatatypes ()
219+ private function getProducibleDatatypes ()
216220 {
217221 return [
218222 'application/json ' ,
@@ -631,7 +635,7 @@ protected function getDefinitionReference($typeName)
631635 /**
632636 * Get the CamelCased type name in 'hyphen-separated-lowercase-words' format
633637 *
634- * e .g. test-module5-v1-entity-all-soap-and-rest
638+ * E .g. test-module5-v1-entity-all-soap-and-rest
635639 *
636640 * @param string $typeName
637641 * @return string
0 commit comments