mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-09 02:59:27 +03:00
Fix context namespace (#2032)
Co-authored-by: Ivan Borisov <electricheartdev@gmail.com>
This commit is contained in:
parent
83c81518c6
commit
b4df34cdf7
@ -57,7 +57,7 @@ final class OpenApiPhpDescriber
|
||||
$path = Util::getPath($api, $path);
|
||||
|
||||
$context = Util::createContext(['nested' => $path], $path->_context);
|
||||
$context->namespace = $method->getNamespaceName();
|
||||
$context->namespace = $declaringClass->getNamespaceName();
|
||||
$context->class = $declaringClass->getShortName();
|
||||
$context->method = $method->name;
|
||||
$context->filename = $method->getFileName();
|
||||
|
Loading…
x
Reference in New Issue
Block a user