@@ -111,7 +111,7 @@ |
||
| 111 | 111 | * @api |
| 112 | 112 | * @since |
| 113 | 113 | * |
| 114 | - * @param $view \GV\View The view! |
|
| 114 | + * @param View $view \GV\View The view! |
|
| 115 | 115 | * |
| 116 | 116 | * @return \GV\Field_Collection A filtered collection of \GV\Fields, filtered by visibility. |
| 117 | 117 | */ |
@@ -158,7 +158,7 @@ discard block |
||
| 158 | 158 | * |
| 159 | 159 | * @see add_columns_sort_links |
| 160 | 160 | * @param string $url Single-sort URL |
| 161 | - * @param array $sort_args Single sorting for rules, in [ field_id, dir ] format |
|
| 161 | + * @param string[] $sort_args Single sorting for rules, in [ field_id, dir ] format |
|
| 162 | 162 | * @param \GV\Field $field The current field |
| 163 | 163 | * |
| 164 | 164 | * @return string Multisort URL, if there are multiple sorts. Otherwise, existing $url |
@@ -369,7 +369,7 @@ discard block |
||
| 369 | 369 | * Output a field cell. |
| 370 | 370 | * |
| 371 | 371 | * @param \GV\Field $field The field to be ouput. |
| 372 | - * @param \GV\Field $entry The entry this field is for. |
|
| 372 | + * @param Entry $entry The entry this field is for. |
|
| 373 | 373 | * |
| 374 | 374 | * @return void |
| 375 | 375 | */ |
@@ -249,7 +249,7 @@ discard block |
||
| 249 | 249 | * @param bool $url_encode Whether to URL-encode output |
| 250 | 250 | * @param bool $esc_html Whether to apply `esc_html()` to output |
| 251 | 251 | * |
| 252 | - * @return mixed |
|
| 252 | + * @return string |
|
| 253 | 253 | */ |
| 254 | 254 | public function replace_merge_tag( $matches = array(), $text = '', $form = array(), $entry = array(), $url_encode = false, $esc_html = false ) { |
| 255 | 255 | |
@@ -427,6 +427,9 @@ discard block |
||
| 427 | 427 | return apply_filters( 'gravityview_field_support_options', $options ); |
| 428 | 428 | } |
| 429 | 429 | |
| 430 | + /** |
|
| 431 | + * @param string $key |
|
| 432 | + */ |
|
| 430 | 433 | function add_field_support( $key, &$field_options ) { |
| 431 | 434 | |
| 432 | 435 | $options = $this->field_support_options(); |