@@ -276,6 +276,9 @@ |
||
276 | 276 | return __CLASS__; |
277 | 277 | } |
278 | 278 | |
279 | + /** |
|
280 | + * @param string $name |
|
281 | + */ |
|
279 | 282 | public function resolveReference($name) { |
280 | 283 | if (isset($this->definitions[$name])) { |
281 | 284 | return '#/definitions/' . $name; |
@@ -169,7 +169,8 @@ discard block |
||
169 | 169 | $this->Tags[] = $Tag; |
170 | 170 | } |
171 | 171 | |
172 | - if ($command === 'api') { // backwards compatibility |
|
172 | + if ($command === 'api') { |
|
173 | +// backwards compatibility |
|
173 | 174 | $this->defaultTag = $Tag; |
174 | 175 | } |
175 | 176 | return $Tag; |
@@ -276,7 +277,8 @@ discard block |
||
276 | 277 | return __CLASS__; |
277 | 278 | } |
278 | 279 | |
279 | - public function resolveReference($name) { |
|
280 | + public function resolveReference($name) |
|
281 | + { |
|
280 | 282 | if (isset($this->definitions[$name])) { |
281 | 283 | return '#/definitions/' . $name; |
282 | 284 | } |