@@ -46,7 +46,6 @@ |
||
| 46 | 46 | * Sets the field |
| 47 | 47 | * |
| 48 | 48 | * @param string name |
| 49 | - * @param Schema $schame |
|
| 50 | 49 | */ |
| 51 | 50 | public function set($name, Schema $schema) { |
| 52 | 51 | $this->definitions->set($name, $schema); |
@@ -77,7 +77,6 @@ |
||
| 77 | 77 | /** |
| 78 | 78 | * Sets the response |
| 79 | 79 | * |
| 80 | - * @param Response $code |
|
| 81 | 80 | */ |
| 82 | 81 | public function set(Response $response) { |
| 83 | 82 | $this->responses->set($response->getCode(), $response); |
@@ -91,7 +91,6 @@ |
||
| 91 | 91 | * Searches whether a parameter with the given unique combination exists |
| 92 | 92 | * |
| 93 | 93 | * @param string $name |
| 94 | - * @param string $id |
|
| 95 | 94 | * @return boolean |
| 96 | 95 | */ |
| 97 | 96 | public function search($name, $in) { |
@@ -10,7 +10,7 @@ discard block |
||
| 10 | 10 | |
| 11 | 11 | class Path extends AbstractModel implements Arrayable { |
| 12 | 12 | |
| 13 | - use ParametersPart; |
|
| 13 | + use ParametersPart; |
|
| 14 | 14 | use ExtensionPart; |
| 15 | 15 | |
| 16 | 16 | private $operations; |
@@ -33,9 +33,9 @@ discard block |
||
| 33 | 33 | } |
| 34 | 34 | } |
| 35 | 35 | |
| 36 | - // parts |
|
| 37 | - $this->parseParameters($data); |
|
| 38 | - $this->parseExtensions($data); |
|
| 36 | + // parts |
|
| 37 | + $this->parseParameters($data); |
|
| 38 | + $this->parseExtensions($data); |
|
| 39 | 39 | } |
| 40 | 40 | |
| 41 | 41 | public function toArray() { |