This commit is contained in:
William DURAND 2012-11-17 17:53:45 +01:00
parent 2f62db82a9
commit 1d72183856

View File

@ -353,7 +353,7 @@ class ApiDocExtractor
'description' => $annot->description, 'description' => $annot->description,
)); ));
} }
} else if (is_a($annot, self::FOS_REST_REQUEST_PARAM_CLASS)) { } elseif (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,