Permalink
Browse files

Fixed some PHPDocs

  • Loading branch information...
1 parent c92abe3 commit a007f046a6a85396149f0d5c0c25ab781c3c8404 @yethee committed Apr 28, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 Form/Type/EnumType.php
View
@@ -24,6 +24,8 @@ class EnumType extends AbstractType
*
* @param FormBuilder $builder The form builder
* @param array $options The options
+ *
+ * @throws FormException
*/
public function buildForm(FormBuilder $builder, array $options)
{
@@ -51,8 +53,6 @@ public function buildForm(FormBuilder $builder, array $options)
/**
* Returns the default options for this type.
*
- * @param array $options
- *
* @return array The default options
*/
public function getDefaultOptions()
@@ -63,6 +63,7 @@ public function getDefaultOptions()
if (!empty($options['enum_class']) && method_exists($options['enum_class'], 'getReadables')) {
return $options['enum_class']::getReadables();
}
+
return array();
},
);

0 comments on commit a007f04

Please sign in to comment.