Skip to content

Commit

Permalink
Update getConcreteRequest method;
Browse files Browse the repository at this point in the history
  • Loading branch information
hans-thomas committed Dec 17, 2024
1 parent 3bc1d8e commit 8b725cb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Services/SwaggerService.php
Original file line number Diff line number Diff line change
Expand Up @@ -646,10 +646,12 @@ public function getConcreteRequest()
$class = $explodedController[0];
$method = $explodedController[1];

$instance = app($class);
if (!method_exists($class, $method)) {
return null;
}

$parameters = $this->resolveClassMethodDependencies(
$instance,
app($class),
$method
);

Expand Down

0 comments on commit 8b725cb

Please sign in to comment.