@@ -824,7 +824,7 @@ however, this parameter is used primarily to specify HTML tag attributes
824824
825825### Creating Text Inputs
826826
827- ` method ` Cake\\ View\\ Helper\\ FormHelper::** text** (string $name , array $options)
827+ ` method ` Cake\\ View\\ Helper\\ FormHelper::** text** (string $fieldName , array $options = [ ] ): string
828828
829829- ` $name ` - A field name in the form ` 'Modelname.fieldname' ` .
830830- ` $options ` - An optional array including any of the
@@ -846,7 +846,7 @@ Will output:
846846
847847### Creating Password Inputs
848848
849- ` method ` Cake\\ View\\ Helper\\ FormHelper::** password** (string $fieldName, array $options)
849+ ` method ` Cake\\ View\\ Helper\\ FormHelper::** password** (string $fieldName, array $options = [ ] ): string
850850
851851- ` $fieldName ` - A field name in the form ` 'Modelname.fieldname' ` .
852852- ` $options ` - An optional array including any of the
@@ -2136,7 +2136,7 @@ echo $this->Form->button('<em>Submit Form</em>', [
21362136
21372137## Closing the Form
21382138
2139- ` method ` Cake\\ View\\ Helper\\ FormHelper::** end** ($secureAttributes = [ ] ): string
2139+ ` method ` Cake\\ View\\ Helper\\ FormHelper::** end** (array $secureAttributes = [ ] ): string
21402140
21412141- ` $secureAttributes ` - Optional. Allows you to provide secure attributes
21422142 which will be passed as HTML attributes into the hidden input elements
@@ -2771,7 +2771,7 @@ As mentioned previously when using FormProtectionComponent, you should always cl
27712771your forms using ` Cake\View\Helper\FormHelper::end() ` . This will
27722772ensure that the special ` _Token ` inputs are generated.
27732773
2774- ` method ` Cake\\ View\\ Helper\\ FormHelper::** unlockField** ($name)
2774+ ` method ` Cake\\ View\\ Helper\\ FormHelper::** unlockField** (string $name): $this
27752775
27762776- ` $name ` - Optional. The dot-separated name for the field.
27772777
0 commit comments