@@ -84,6 +84,7 @@ discard block |
||
| 84 | 84 | /** |
| 85 | 85 | * Return the query class for this View. |
| 86 | 86 | * |
| 87 | + * @param View $view |
|
| 87 | 88 | * @return string The class name. |
| 88 | 89 | */ |
| 89 | 90 | public function get_query_class( $view ) { |
@@ -575,10 +576,8 @@ discard block |
||
| 575 | 576 | /** |
| 576 | 577 | * Get a \GV\Field by Form and Field ID for this data source. |
| 577 | 578 | * |
| 578 | - * @param \GV\GF_Form $form The Gravity Form form ID. |
|
| 579 | - * @param int $field_id The Gravity Form field ID for the $form_id. |
|
| 580 | 579 | * |
| 581 | - * @return \GV\Field|null The requested field or null if not found. |
|
| 580 | + * @return null|GF_Field The requested field or null if not found. |
|
| 582 | 581 | */ |
| 583 | 582 | public static function get_field( /** varargs */ ) { |
| 584 | 583 | $args = func_get_args(); |
@@ -55,6 +55,7 @@ |
||
| 55 | 55 | * Magic shortcuts. |
| 56 | 56 | * |
| 57 | 57 | * - `entries` -> `$this->get_entries()` |
| 58 | + * @param string $key |
|
| 58 | 59 | */ |
| 59 | 60 | public function __get( $key ) { |
| 60 | 61 | switch ( $key ): |
@@ -90,7 +90,7 @@ discard block |
||
| 90 | 90 | * |
| 91 | 91 | * @param array $fields Array of field types not editable by users |
| 92 | 92 | * |
| 93 | - * @return array |
|
| 93 | + * @return string[] |
|
| 94 | 94 | */ |
| 95 | 95 | public function _filter_sortable_fields( $fields ) { |
| 96 | 96 | |
@@ -108,7 +108,7 @@ discard block |
||
| 108 | 108 | * |
| 109 | 109 | * @param array $file_paths List of template paths ordered |
| 110 | 110 | * |
| 111 | - * @return array File paths, with duplicate field path added at index 117 |
|
| 111 | + * @return string[] File paths, with duplicate field path added at index 117 |
|
| 112 | 112 | */ |
| 113 | 113 | public function add_template_path( $file_paths ) { |
| 114 | 114 | |
@@ -213,7 +213,6 @@ discard block |
||
| 213 | 213 | * @since 2.5 |
| 214 | 214 | * |
| 215 | 215 | * @param array $visibility_caps Array of capabilities to display in field dropdown. |
| 216 | - * @param string $field_type Type of field options to render (`field` or `widget`) |
|
| 217 | 216 | * @param string $template_id Table slug |
| 218 | 217 | * @param float|string $field_id GF Field ID - Example: `3`, `5.2`, `entry_link`, `created_by` |
| 219 | 218 | * @param string $context What context are we in? Example: `single` or `directory` |
@@ -73,7 +73,7 @@ |
||
| 73 | 73 | * |
| 74 | 74 | * @param array $allowlist Array of widgets to show before a search is performed, if the setting is enabled. |
| 75 | 75 | * |
| 76 | - * @return array |
|
| 76 | + * @return string[] |
|
| 77 | 77 | */ |
| 78 | 78 | function add_to_allowlist( $allowlist ) { |
| 79 | 79 | |