@@ -93,7 +93,7 @@ discard block |
||
93 | 93 | } |
94 | 94 | |
95 | 95 | /** |
96 | - * @param $object |
|
96 | + * @param Swagger $object |
|
97 | 97 | * @return array |
98 | 98 | */ |
99 | 99 | static public function objectToArray($object) |
@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | /** |
119 | 119 | * @param Application $app |
120 | 120 | * @param ControllerContainer $controller |
121 | - * @param $action |
|
121 | + * @param integer $action |
|
122 | 122 | * @param Route $route |
123 | 123 | * @return array |
124 | 124 | */ |
@@ -167,7 +167,7 @@ discard block |
||
167 | 167 | /** |
168 | 168 | * @param Application $app |
169 | 169 | * @param ControllerContainer $controller |
170 | - * @param $action |
|
170 | + * @param integer $action |
|
171 | 171 | * @param Route $route |
172 | 172 | * @return null|ResponseObject |
173 | 173 | */ |
@@ -305,6 +305,9 @@ discard block |
||
305 | 305 | return new RefSchemaObject("#/definitions/$name"); |
306 | 306 | } |
307 | 307 | |
308 | + /** |
|
309 | + * @param integer $action |
|
310 | + */ |
|
308 | 311 | public function getParamsSchema(Application $app, |
309 | 312 | ControllerContainer $controller, |
310 | 313 | $action, |
@@ -577,6 +580,9 @@ discard block |
||
577 | 580 | return $className; |
578 | 581 | } |
579 | 582 | |
583 | + /** |
|
584 | + * @param string $glue |
|
585 | + */ |
|
580 | 586 | static public function implode($glue , array $pieces ) |
581 | 587 | { |
582 | 588 | $pieces = array_filter($pieces, function($i){return trim($i) !== '';}); |