Преглед на файлове

[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)