@@ -170,14 +170,14 @@ |
||
| 170 | 170 | [ |
| 171 | 171 | 'schema' => $validationErrorSchema, |
| 172 | 172 | ] |
| 173 | - ), |
|
| 174 | - 'application/xml' => new OASv3\MediaType( |
|
| 173 | + ), |
|
| 174 | + 'application/xml' => new OASv3\MediaType( |
|
| 175 | 175 | [ |
| 176 | 176 | 'schema' => $validationErrorSchema, |
| 177 | 177 | ] |
| 178 | - ), |
|
| 179 | - ] |
|
| 180 | - ), |
|
| 178 | + ), |
|
| 179 | + ] |
|
| 180 | + ), |
|
| 181 | 181 | ], |
| 182 | 182 | ]), |
| 183 | 183 | ] |
@@ -154,8 +154,8 @@ |
||
| 154 | 154 | return $this->serializer->denormalize( |
| 155 | 155 | $data, |
| 156 | 156 | $resourceClass, |
| 157 | - self::INTERNAL_FOR_DATALAYER, |
|
| 158 | - ['object_access' => new ObjectAccess(false, true), 'keep_setter_calls' => true] |
|
| 157 | + self::INTERNAL_FOR_DATALAYER, |
|
| 158 | + ['object_access' => new ObjectAccess(false, true), 'keep_setter_calls' => true] |
|
| 159 | 159 | ); |
| 160 | 160 | } |
| 161 | 161 | } |
@@ -61,7 +61,7 @@ |
||
| 61 | 61 | } |
| 62 | 62 | if ($added) { |
| 63 | 63 | $document->components->headers['Count'] = new Header('number of results', ['schema' => new Schema(['type' => 'number', 'format' => 'int'])]); |
| 64 | - $document->components->headers['Url'] = new Header('pagination url', ['schema' => new Schema(['type' => 'string', 'format' => 'url']) ]); |
|
| 64 | + $document->components->headers['Url'] = new Header('pagination url', ['schema' => new Schema(['type' => 'string', 'format' => 'url'])]); |
|
| 65 | 65 | } |
| 66 | 66 | return $document; |
| 67 | 67 | } |