@@ -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() { |
@@ -50,7 +50,6 @@ |
||
50 | 50 | * Sets the field |
51 | 51 | * |
52 | 52 | * @param string name |
53 | - * @param Schema $schame |
|
54 | 53 | */ |
55 | 54 | public function set($name, Schema $schema) { |
56 | 55 | $this->definitions->set($name, $schema); |
@@ -92,7 +92,6 @@ |
||
92 | 92 | * Searches whether a parameter with the given unique combination exists |
93 | 93 | * |
94 | 94 | * @param string $name |
95 | - * @param string $id |
|
96 | 95 | * @return bool |
97 | 96 | */ |
98 | 97 | public function search($name, $in) { |
@@ -83,7 +83,6 @@ |
||
83 | 83 | /** |
84 | 84 | * Sets the response |
85 | 85 | * |
86 | - * @param Response $code |
|
87 | 86 | */ |
88 | 87 | public function add(Response $response) { |
89 | 88 | $this->responses->set($response->getCode(), $response); |
@@ -81,7 +81,6 @@ |
||
81 | 81 | /** |
82 | 82 | * Adds all schemes from another definitions collection. Will overwrite existing operations. |
83 | 83 | * |
84 | - * @param SecurityDefinitions $schemes |
|
85 | 84 | */ |
86 | 85 | public function addAll(SecurityDefinitions $definitions) { |
87 | 86 | foreach ($definitions as $scheme) { |