This commit is contained in:
FlorianLB 2012-11-16 12:14:46 +01:00
parent 6b66edbcda
commit e4e9f62230

View File

@ -353,8 +353,7 @@ class ApiDocExtractor
'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(
'required' => !$annot->nullable,
'dataType' => $annot->requirements,