@@ -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 | * |
@@ -338,7 +338,7 @@ |
||
338 | 338 | * and {@see $id_prefix} and merges any changes made to the model while calling |
339 | 339 | * the given function. |
340 | 340 | * |
341 | - * @param FieldInterface|int|string $field Field instance, or an integer index, or string key |
|
341 | + * @param Fields\DateSelectField $field Field instance, or an integer index, or string key |
|
342 | 342 | * @param callable $func function (InputModel $model): mixed |
343 | 343 | * |
344 | 344 | * @return mixed |