mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-04-06 07:13:31 +03:00
Merge pull request #1166 from kubaceg/master
Fix undefined variable in ApiPlatformDescriber
This commit is contained in:
commit
2a42de64e2
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue