Skip to content

Commit

Permalink
Fixed some PHPDocs
Browse files Browse the repository at this point in the history
  • Loading branch information
yethee committed Apr 28, 2012
1 parent c92abe3 commit a007f04
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Form/Type/EnumType.php
Expand Up @@ -24,6 +24,8 @@ class EnumType extends AbstractType
* *
* @param FormBuilder $builder The form builder * @param FormBuilder $builder The form builder
* @param array $options The options * @param array $options The options
*
* @throws FormException
*/ */
public function buildForm(FormBuilder $builder, array $options) public function buildForm(FormBuilder $builder, array $options)
{ {
Expand Down Expand Up @@ -51,8 +53,6 @@ public function buildForm(FormBuilder $builder, array $options)
/** /**
* Returns the default options for this type. * Returns the default options for this type.
* *
* @param array $options
*
* @return array The default options * @return array The default options
*/ */
public function getDefaultOptions() public function getDefaultOptions()
Expand All @@ -63,6 +63,7 @@ public function getDefaultOptions()
if (!empty($options['enum_class']) && method_exists($options['enum_class'], 'getReadables')) { if (!empty($options['enum_class']) && method_exists($options['enum_class'], 'getReadables')) {
return $options['enum_class']::getReadables(); return $options['enum_class']::getReadables();
} }

return array(); return array();
}, },
); );
Expand Down

0 comments on commit a007f04

Please sign in to comment.