mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-03-12 10:36:09 +03:00
Remove unused variable (#1340)
This commit is contained in:
parent
662db568f8
commit
cf0857af64
@ -39,7 +39,6 @@ final class FosRestDescriber implements RouteDescriberInterface
|
|||||||
|
|
||||||
foreach ($this->getOperations($api, $route) as $operation) {
|
foreach ($this->getOperations($api, $route) as $operation) {
|
||||||
foreach ($annotations as $annotation) {
|
foreach ($annotations as $annotation) {
|
||||||
$in = $annotation instanceof QueryParam ? 'query' : 'formData';
|
|
||||||
if ($annotation instanceof QueryParam) {
|
if ($annotation instanceof QueryParam) {
|
||||||
$parameter = $operation->getParameters()->get($annotation->getName(), 'query');
|
$parameter = $operation->getParameters()->get($annotation->getName(), 'query');
|
||||||
$parameter->setAllowEmptyValue($annotation->nullable && $annotation->allowBlank);
|
$parameter->setAllowEmptyValue($annotation->nullable && $annotation->allowBlank);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user