diff --git a/docs/class-reference.md b/docs/class-reference.md index 9c7a9f6d4..222eea17c 100644 --- a/docs/class-reference.md +++ b/docs/class-reference.md @@ -2225,7 +2225,7 @@ function parseRequestParams(string $method, array $bodyParams, array $queryParam * Checks validity of OperationParams extracted from HTTP request and returns an array of errors * if params are invalid (or empty array when params are valid). * - * @return array + * @return list * * @api */ diff --git a/src/Server/Helper.php b/src/Server/Helper.php index 915726d0b..f0c9f62a3 100644 --- a/src/Server/Helper.php +++ b/src/Server/Helper.php @@ -140,7 +140,7 @@ public function parseRequestParams(string $method, array $bodyParams, array $que * Checks validity of OperationParams extracted from HTTP request and returns an array of errors * if params are invalid (or empty array when params are valid). * - * @return array + * @return list * * @api */