Skip to content

Commit 953d703

Browse files
committed
lrd document is available for all methods
1 parent da30efe commit 953d703

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/LaravelRequestDocs.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,10 @@ public function appendRequestRules(array $controllersInfo)
140140
throw $e;
141141
}
142142
}
143-
$controllersInfo[$index]['docBlock'] = $this->lrdDocComment($reflectionMethod->getDocComment());
144143
}
145144

145+
$controllersInfo[$index]['docBlock'] = $this->lrdDocComment($reflectionMethod->getDocComment());
146+
146147
$controllersInfo[$index]['rules'] = array_merge(
147148
$controllersInfo[$index]['rules'] ?? [],
148149
$customRules,

0 commit comments

Comments
 (0)