Skip to content

Commit 8c895b4

Browse files
gelanivishalspeedy008
authored andcommitted
Update Generator.php
1 parent d06fa99 commit 8c895b4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/code/Magento/Webapi/Model/Rest/Swagger/Generator.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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.
@@ -203,7 +203,7 @@ protected function getGeneralInfo()
203203
*
204204
* @return array
205205
*/
206-
protected function getConsumableDatatypes()
206+
private function getConsumableDatatypes()
207207
{
208208
return [
209209
'application/json',
@@ -216,7 +216,7 @@ protected function getConsumableDatatypes()
216216
*
217217
* @return array
218218
*/
219-
protected function getProducibleDatatypes()
219+
private function getProducibleDatatypes()
220220
{
221221
return [
222222
'application/json',

0 commit comments

Comments
 (0)