Преглед изворни кода

[Form] Fixed typo in phpdoc

Fabien Pennequin пре 14 година
родитељ
комит
956857119b
1 измењених фајлова са 1 додато и 1 уклоњено
  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)