mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 15:51:48 +03:00
CS fix
This commit is contained in:
parent
6b66edbcda
commit
e4e9f62230
@ -353,8 +353,7 @@ class ApiDocExtractor
|
|||||||
'description' => $annot->description,
|
'description' => $annot->description,
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
}
|
} else if (is_a($annot, self::FOS_REST_REQUEST_PARAM_CLASS)) {
|
||||||
else if (is_a($annot, self::FOS_REST_REQUEST_PARAM_CLASS)) {
|
|
||||||
$annotation->addParameter($annot->name, array(
|
$annotation->addParameter($annot->name, array(
|
||||||
'required' => !$annot->nullable,
|
'required' => !$annot->nullable,
|
||||||
'dataType' => $annot->requirements,
|
'dataType' => $annot->requirements,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user