Skip to content
This repository has been archived by the owner on Apr 26, 2020. It is now read-only.

Commit

Permalink
Update ApiDesc.php
Browse files Browse the repository at this point in the history
  • Loading branch information
coder-liyang authored Aug 3, 2017
1 parent 3fac51b commit dba85d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ApiDesc.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit dba85d8

Please sign in to comment.