@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | } |
51 | 51 | |
52 | 52 | /** |
53 | - * @param FieldInterface|string $field |
|
53 | + * @param FieldInterface $field |
|
54 | 54 | * |
55 | 55 | * @return string|array|null value (or NULL, if no value exists in $input) |
56 | 56 | */ |
@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | } |
73 | 73 | |
74 | 74 | /** |
75 | - * @param FieldInterface|string $field |
|
75 | + * @param Field $field |
|
76 | 76 | * @param string|array|null $value |
77 | 77 | * |
78 | 78 | * @return void |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | /** |
106 | 106 | * Get the error message for a given Field. |
107 | 107 | * |
108 | - * @param FieldInterface|string $field |
|
108 | + * @param string $field |
|
109 | 109 | * |
110 | 110 | * @return string|string[]|null error-message (or NULL, if the given Field has no error) |
111 | 111 | */ |
@@ -136,7 +136,7 @@ discard block |
||
136 | 136 | } |
137 | 137 | |
138 | 138 | /** |
139 | - * @param FieldInterface|string $field |
|
139 | + * @param FieldInterface $field |
|
140 | 140 | * |
141 | 141 | * @return bool true, if the given Field has an error message |
142 | 142 | * |
@@ -212,7 +212,7 @@ discard block |
||
212 | 212 | /** |
213 | 213 | * @param FieldInterface $field |
214 | 214 | * |
215 | - * @return string|null computed name-attribute |
|
215 | + * @return string computed name-attribute |
|
216 | 216 | */ |
217 | 217 | public function getName(FieldInterface $field) |
218 | 218 | { |
@@ -337,7 +337,7 @@ discard block |
||
337 | 337 | * and {@see $id_prefix} and merges any changes made to the model while calling |
338 | 338 | * the given function. |
339 | 339 | * |
340 | - * @param FieldInterface|int|string $field Field instance, or an integer index, or string key |
|
340 | + * @param Fields\DateSelectField $field Field instance, or an integer index, or string key |
|
341 | 341 | * @param callable $func function (InputModel $model): mixed |
342 | 342 | * |
343 | 343 | * @return mixed |