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

Commit 96011b1

Browse files
committed
closed #1 fix bug
1 parent c794cbb commit 96011b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ApiDesc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public function render() {
7777
//@param注释
7878
$pos = stripos($comment, '@param');
7979
if ($pos !== FALSE) {
80-
$paramArr = explode(' ', trim(substr($comment, $pos + 7)), 3);
80+
$paramArr = explode(' ', trim(substr(trim($comment), $pos + 7)), 3);
8181
$rules[] = $paramArr;
8282
continue;
8383
}

0 commit comments

Comments
 (0)