Skip to content

Commit ed65112

Browse files
committed
fix: use invocable controllers with DI with bind by contracts
1 parent bc3bf13 commit ed65112

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Services/SwaggerService.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,10 @@ public function getConcreteRequest()
655655
return null;
656656
}
657657

658-
$parameters = $this->resolveClassMethodDependencies(app($class), $method);
658+
$parameters = $this->resolveClassMethodDependencies(
659+
app($class),
660+
$method
661+
);
659662

660663
return Arr::first($parameters, function ($key) {
661664
return preg_match('/Request/', $key);

0 commit comments

Comments
 (0)