We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db514e5 commit b11d762Copy full SHA for b11d762
src/LaravelRequestDocs.php
@@ -118,7 +118,11 @@ public function appendRequestRules(array $controllersInfo)
118
foreach ($controllersInfo as $index => $controllerInfo) {
119
$controller = $controllerInfo['controller_full_path'];
120
$method = $controllerInfo['method'];
121
- $reflectionMethod = new ReflectionMethod($controller, $method);
+ try {
122
+ $reflectionMethod = new ReflectionMethod($controller, $method);
123
+ } catch (Throwable $e) {
124
+ continue;
125
+ }
126
$params = $reflectionMethod->getParameters();
127
$customRules = $this->customParamsDocComment($reflectionMethod->getDocComment());
128
$controllersInfo[$index]['rules'] = [];
0 commit comments