mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 23:59:26 +03:00
Add a missing variable initialisation
This commit is contained in:
parent
b4c3dcd6ae
commit
79482bf7a2
@ -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