mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-09 02:59:27 +03:00
Merge pull request #1208 from nelmio/GuilhemN-patch-1
Add a missing variable initialisation
This commit is contained in:
commit
819cbe354f
@ -27,6 +27,7 @@ trait RouteDescriberTrait
|
||||
*/
|
||||
private function getOperations(Swagger $api, Route $route): array
|
||||
{
|
||||
$operations = [];
|
||||
$path = $api->getPaths()->get($this->normalizePath($route->getPath()));
|
||||
$methods = $route->getMethods() ?: Swagger::$METHODS;
|
||||
foreach ($methods as $method) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user