diff --git a/src/ApiDesc.php b/src/ApiDesc.php index d516c19..40a5f6b 100644 --- a/src/ApiDesc.php +++ b/src/ApiDesc.php @@ -76,7 +76,7 @@ public function render() { $pos = stripos($comment, '@param'); if ($pos !== FALSE) { $paramArr = explode(' ', trim(substr($comment, $pos + 7)), 3); - $rules[$paramArr[0]] = $paramArr; + $rules[] = $paramArr; continue; }