Explorar o código

[Form] Fixed typo in phpdoc

Fabien Pennequin %!s(int64=14) %!d(string=hai) anos
pai
achega
956857119b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Symfony/Component/Form/ChoiceField.php

+ 1 - 1
src/Symfony/Component/Form/ChoiceField.php

@@ -135,7 +135,7 @@ class ChoiceField extends HybridField
     /**
      * Returns a new field of type radio button or checkbox.
      *
-     * @param string $key      The key for the option
+     * @param string $choice   The key for the option
      * @param string $label    The label for the option
      */
     protected function newChoiceField($choice, $label)