mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-04-01 21:06:15 +03:00
Fix CS
This commit is contained in:
parent
90293e171f
commit
a3800fb29a
1 changed files with 3 additions and 3 deletions
|
@ -61,16 +61,16 @@ final class FosRestDescriber implements RouteDescriberInterface
|
|||
if (null !== $parameter->getType()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
if (null === $parameter->getDescription()) {
|
||||
$parameter->setDescription($annotation->description);
|
||||
}
|
||||
|
||||
|
||||
if ($annotation->map) {
|
||||
$parameter->setType('array');
|
||||
$parameter = $parameter->getItems();
|
||||
}
|
||||
|
||||
|
||||
$parameter->setType('string');
|
||||
|
||||
$pattern = $this->getPattern($annotation->requirements);
|
||||
|
|
Loading…
Add table
Reference in a new issue