mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-09 02:59:27 +03:00
Fix undefined variable in ApiPlatformDescriber
This commit is contained in:
parent
3fa79bd2b2
commit
1f881517c7
@ -21,6 +21,7 @@ final class ApiPlatformDescriber extends ExternalDocDescriber
|
||||
public function __construct(Documentation $documentation, DocumentationNormalizer $normalizer, UrlGeneratorInterface $urlGenerator)
|
||||
{
|
||||
parent::__construct(function () use ($documentation, $normalizer, $urlGenerator) {
|
||||
$paths = [];
|
||||
$baseContext = $urlGenerator->getContext();
|
||||
$urlGenerator->setContext(new RequestContext());
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user