@@ -195,7 +195,6 @@ discard block |
||
| 195 | 195 | * |
| 196 | 196 | * @deprecated 2.0.7 |
| 197 | 197 | * |
| 198 | - * @param array $handles Array of meta keys to check for existence of shortcodes |
|
| 199 | 198 | * @param int $post_id The ID being checked by GravityView |
| 200 | 199 | * |
| 201 | 200 | * @return array Meta key array, merged with existing meta keys |
@@ -209,7 +208,6 @@ discard block |
||
| 209 | 208 | * |
| 210 | 209 | * @since 2.0.7 |
| 211 | 210 | * |
| 212 | - * @param array $handles Array of meta keys to check for existence of shortcodes |
|
| 213 | 211 | * @param \WP_Post $post The ID being checked by GravityView |
| 214 | 212 | * |
| 215 | 213 | * @return array Meta key array, merged with existing meta keys |
@@ -24,9 +24,8 @@ |
||
| 24 | 24 | /** |
| 25 | 25 | * Get a \GV\Field by Field ID for this data source. |
| 26 | 26 | * |
| 27 | - * @param int $field_id The internal field ID (custom content, etc.) |
|
| 28 | 27 | * |
| 29 | - * @return \GV\Field|null The requested field or null if not found. |
|
| 28 | + * @return null|Internal_Field The requested field or null if not found. |
|
| 30 | 29 | */ |
| 31 | 30 | public static function get_field( /** varargs */ ) { |
| 32 | 31 | $args = func_get_args(); |
@@ -53,7 +53,6 @@ discard block |
||
| 53 | 53 | * Columns are able to be added to View layouts, but not separately searched! |
| 54 | 54 | * |
| 55 | 55 | * @param array $fields |
| 56 | - * @param int $form_id |
|
| 57 | 56 | * |
| 58 | 57 | * @return array |
| 59 | 58 | */ |
@@ -133,7 +132,7 @@ discard block |
||
| 133 | 132 | * |
| 134 | 133 | * @param GF_Field_List $field Gravity Forms field |
| 135 | 134 | * @param string|array $field_value Serialized or unserialized array value for the field |
| 136 | - * @param int|string $column_id The numeric key of the column (0-index) or the label of the column |
|
| 135 | + * @param integer $column_id The numeric key of the column (0-index) or the label of the column |
|
| 137 | 136 | * @param string $format If set to 'raw', return an array of values for the column. Otherwise, allow Gravity Forms to render using `html` or `text` |
| 138 | 137 | * |
| 139 | 138 | * @return array|string|null Returns null if the $field_value passed wasn't an array or serialized array |
@@ -84,7 +84,7 @@ |
||
| 84 | 84 | * @see \Gamajo_Template_Loader::set_template_data |
| 85 | 85 | * @see \GV\Template::pop_template_data |
| 86 | 86 | * |
| 87 | - * @return \Gamajo_Template_Loader The current instance. |
|
| 87 | + * @return Template The current instance. |
|
| 88 | 88 | */ |
| 89 | 89 | public function push_template_data( $data, $var_name = 'data' ) { |
| 90 | 90 | if ( ! isset( self::$data_stack[ $var_name ] ) ) { |
@@ -49,7 +49,7 @@ |
||
| 49 | 49 | * |
| 50 | 50 | * @param array $items Scripts or styles to exclude from no-conflict |
| 51 | 51 | * |
| 52 | - * @return array |
|
| 52 | + * @return string[] |
|
| 53 | 53 | */ |
| 54 | 54 | public function register_noconflict( $items ) { |
| 55 | 55 | |
@@ -282,7 +282,7 @@ |
||
| 282 | 282 | /** |
| 283 | 283 | * Process edit entry form save |
| 284 | 284 | * |
| 285 | - * @param array $gv_data The View data. |
|
| 285 | + * @param GravityView_View_Data $gv_data The View data. |
|
| 286 | 286 | */ |
| 287 | 287 | private function process_save( $gv_data ) { |
| 288 | 288 | |
@@ -795,6 +795,7 @@ |
||
| 795 | 795 | * Retrieve the entries for the current view and request. |
| 796 | 796 | * |
| 797 | 797 | * @param \GV\Request The request. Unused for now. |
| 798 | + * @param Request $request |
|
| 798 | 799 | * |
| 799 | 800 | * @return \GV\Entry_Collection The entries. |
| 800 | 801 | */ |
@@ -141,8 +141,8 @@ discard block |
||
| 141 | 141 | * |
| 142 | 142 | * @see add_columns_sort_links |
| 143 | 143 | * @param string $url Single-sort URL |
| 144 | - * @param array $sort_args Single sorting for rules, in [ field_id, dir ] format |
|
| 145 | - * @param string|int $field_id ID of the current field being displayed |
|
| 144 | + * @param string[] $sort_args Single sorting for rules, in [ field_id, dir ] format |
|
| 145 | + * @param string $field_id ID of the current field being displayed |
|
| 146 | 146 | * |
| 147 | 147 | * @return string Multisort URL, if there are multiple sorts. Otherwise, existing $url |
| 148 | 148 | */ |
@@ -346,7 +346,7 @@ discard block |
||
| 346 | 346 | * Output a field cell. |
| 347 | 347 | * |
| 348 | 348 | * @param \GV\Field $field The field to be ouput. |
| 349 | - * @param \GV\Field $entry The entry this field is for. |
|
| 349 | + * @param Entry $entry The entry this field is for. |
|
| 350 | 350 | * |
| 351 | 351 | * @return void |
| 352 | 352 | */ |
@@ -76,7 +76,7 @@ |
||
| 76 | 76 | * @param \GV\View $view The view we're looking at. |
| 77 | 77 | * @param string $path The path of the offending template. |
| 78 | 78 | * |
| 79 | - * @return \Callable A closure used in the filter. |
|
| 79 | + * @return \Closure A closure used in the filter. |
|
| 80 | 80 | */ |
| 81 | 81 | public function legacy_template_warning( $view, $path ) { |
| 82 | 82 | return function() use ( $view, $path ) { |