@@ -117,6 +117,7 @@ discard block |
||
117 | 117 | |
118 | 118 | /** |
119 | 119 | * @since 3.0 |
120 | + * @return string |
|
120 | 121 | */ |
121 | 122 | public static function get_default_field( $type ) { |
122 | 123 | $field_type = FrmFieldFactory::get_field_type( $type ); |
@@ -138,6 +139,7 @@ discard block |
||
138 | 139 | |
139 | 140 | /** |
140 | 141 | * @since 2.0 |
142 | + * @param string $error |
|
141 | 143 | */ |
142 | 144 | public static function get_error_msg( $field, $error ) { |
143 | 145 | $frm_settings = FrmAppHelper::get_settings(); |
@@ -696,6 +698,9 @@ discard block |
||
696 | 698 | return $field_types; |
697 | 699 | } |
698 | 700 | |
701 | + /** |
|
702 | + * @param string[] $inputs |
|
703 | + */ |
|
699 | 704 | private static function field_types_for_input( $inputs, $fields, &$field_types ) { |
700 | 705 | foreach ( $inputs as $input ) { |
701 | 706 | $field_types[ $input ] = $fields[ $input ]; |
@@ -259,6 +259,9 @@ |
||
259 | 259 | return $this->alter_builder_classes( $classes ); |
260 | 260 | } |
261 | 261 | |
262 | + /** |
|
263 | + * @param string $classes |
|
264 | + */ |
|
262 | 265 | protected function alter_builder_classes( $classes ) { |
263 | 266 | return $classes; |
264 | 267 | } |