mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-04-01 12:56:15 +03:00
Remove unused variable (#1340)
This commit is contained in:
parent
662db568f8
commit
cf0857af64
1 changed files with 0 additions and 1 deletions
|
@ -39,7 +39,6 @@ final class FosRestDescriber implements RouteDescriberInterface
|
|||
|
||||
foreach ($this->getOperations($api, $route) as $operation) {
|
||||
foreach ($annotations as $annotation) {
|
||||
$in = $annotation instanceof QueryParam ? 'query' : 'formData';
|
||||
if ($annotation instanceof QueryParam) {
|
||||
$parameter = $operation->getParameters()->get($annotation->getName(), 'query');
|
||||
$parameter->setAllowEmptyValue($annotation->nullable && $annotation->allowBlank);
|
||||
|
|
Loading…
Add table
Reference in a new issue