@@ -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) { |
@@ -56,6 +56,9 @@ |
||
| 56 | 56 | return $out; |
| 57 | 57 | } |
| 58 | 58 | |
| 59 | + /** |
|
| 60 | + * @param integer $strategy |
|
| 61 | + */ |
|
| 59 | 62 | protected function mergeFields(&$original, $external, $strategy) |
| 60 | 63 | { |
| 61 | 64 | if ($original instanceof self && method_exists($original, 'merge')) { |
@@ -56,8 +56,7 @@ |
||
| 56 | 56 | return $out; |
| 57 | 57 | } |
| 58 | 58 | |
| 59 | - protected function mergeFields(&$original, $external, $strategy) |
|
| 60 | - { |
|
| 59 | + protected function mergeFields(&$original, $external, $strategy) { |
|
| 61 | 60 | if ($original instanceof self && method_exists($original, 'merge')) { |
| 62 | 61 | $original->merge($external, $strategy); |
| 63 | 62 | |