@@ -151,7 +151,7 @@ |
||
151 | 151 | * Output a field cell. |
152 | 152 | * |
153 | 153 | * @param \GV\Field $field The field to be ouput. |
154 | - * @param \GV\Field $entry The entry this field is for. |
|
154 | + * @param Entry $entry The entry this field is for. |
|
155 | 155 | * |
156 | 156 | * @return void |
157 | 157 | */ |
@@ -316,7 +316,7 @@ discard block |
||
316 | 316 | * |
317 | 317 | * @param array $widget_args The Widget shortcode args. |
318 | 318 | * @param string $content The content. |
319 | - * @param string|\GV\Template_Context $context The context, if available. |
|
319 | + * @param string $context The context, if available. |
|
320 | 320 | * |
321 | 321 | * @return void |
322 | 322 | */ |
@@ -375,7 +375,7 @@ discard block |
||
375 | 375 | * @internal |
376 | 376 | * @since 2.0 |
377 | 377 | * |
378 | - * @return \GV\Widget|null The widget implementation from configuration or none. |
|
378 | + * @return Widget The widget implementation from configuration or none. |
|
379 | 379 | */ |
380 | 380 | public static function from_configuration( $configuration ) { |
381 | 381 | $registered_widgets = self::registered(); |
@@ -227,7 +227,7 @@ discard block |
||
227 | 227 | * |
228 | 228 | * |
229 | 229 | * |
230 | - * @param null $view_id |
|
230 | + * @param string $view_id |
|
231 | 231 | */ |
232 | 232 | public function set_context_view_id( $view_id = null ) { |
233 | 233 | $multiple_views = $this->getGvOutputData() && $this->getGvOutputData()->has_multiple_views(); |
@@ -865,7 +865,7 @@ discard block |
||
865 | 865 | * |
866 | 866 | * @uses gravityview_get_entries() |
867 | 867 | * @access public |
868 | - * @param array $args\n |
|
868 | + * @param array $args |
|
869 | 869 | * - $id - View id |
870 | 870 | * - $page_size - Page |
871 | 871 | * - $sort_field - form field id to sort |
@@ -994,7 +994,6 @@ discard block |
||
994 | 994 | * @since 1.19.5 |
995 | 995 | * |
996 | 996 | * @param $args |
997 | - * @param int $form_id |
|
998 | 997 | */ |
999 | 998 | public static function get_search_criteria_paging( $args ) { |
1000 | 999 | |
@@ -1416,7 +1415,7 @@ discard block |
||
1416 | 1415 | /** |
1417 | 1416 | * Checks if field (column) is sortable |
1418 | 1417 | * |
1419 | - * @param string $field Field settings |
|
1418 | + * @param string $field_id Field settings |
|
1420 | 1419 | * @param array $form Gravity Forms form array |
1421 | 1420 | * |
1422 | 1421 | * @since 1.7 |
@@ -184,7 +184,7 @@ discard block |
||
184 | 184 | * @param GF_Field|false $field |
185 | 185 | * @param string $value |
186 | 186 | * |
187 | - * @return mixed|string |
|
187 | + * @return string |
|
188 | 188 | */ |
189 | 189 | private static function maybe_urlencode( $field = false, $value = '' ) { |
190 | 190 | |
@@ -349,7 +349,7 @@ discard block |
||
349 | 349 | * @param bool $url_encode Whether to URL-encode output |
350 | 350 | * @param bool $esc_html Whether to apply `esc_html()` to output |
351 | 351 | * |
352 | - * @return mixed |
|
352 | + * @return string |
|
353 | 353 | */ |
354 | 354 | public static function replace_gv_merge_tags( $text, $form = array(), $entry = array(), $url_encode = false, $esc_html = false ) { |
355 | 355 |
@@ -9,7 +9,6 @@ |
||
9 | 9 | */ |
10 | 10 | class GV_License_Handler extends \GV\License_Handler { |
11 | 11 | /** |
12 | - * @param \GV\Addon_Settings $GFAddOn |
|
13 | 12 | * |
14 | 13 | * @deprecated Use \GV\License_Handler::get instead |
15 | 14 | * |
@@ -219,6 +219,9 @@ discard block |
||
219 | 219 | |
220 | 220 | } |
221 | 221 | |
222 | + /** |
|
223 | + * @param string $key |
|
224 | + */ |
|
222 | 225 | public function getCurrentFieldSetting( $key ) { |
223 | 226 | $settings = $this->getCurrentField('field_settings'); |
224 | 227 | |
@@ -725,6 +728,7 @@ discard block |
||
725 | 728 | * |
726 | 729 | * @inheritdoc |
727 | 730 | * @see Gamajo_Template_Loader::locate_template() |
731 | + * @param string $template_names |
|
728 | 732 | * @return null|string NULL: Template not found; String: path to template |
729 | 733 | */ |
730 | 734 | function locate_template( $template_names, $load = false, $require_once = true ) { |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | * |
59 | 59 | * @see GVCommon::get_form_fields() |
60 | 60 | * @access public |
61 | - * @param string|array $form_id (default: '') or $form object |
|
61 | + * @param string|array $form (default: '') or $form object |
|
62 | 62 | * @return array |
63 | 63 | */ |
64 | 64 | function gravityview_get_form_fields( $form = '', $add_default_properties = false, $include_parent_field = true ) { |
@@ -108,7 +108,6 @@ discard block |
||
108 | 108 | * Since 1.4, supports custom entry slugs. The way that GravityView fetches an entry based on the custom slug is by searching `gravityview_unique_id` meta. The `$entry_slug` is fetched by getting the current query var set by `is_single_entry()` |
109 | 109 | * |
110 | 110 | * @access public |
111 | - * @param mixed $entry_id |
|
112 | 111 | * @param boolean $force_allow_ids Force the get_entry() method to allow passed entry IDs, even if the `gravityview_custom_entry_slug_allow_id` filter returns false. |
113 | 112 | * @param boolean $check_entry_display Check whether the entry is visible for the current View configuration. Default: true {@since 1.14} |
114 | 113 | * @return array|boolean |
@@ -202,7 +201,6 @@ discard block |
||
202 | 201 | * |
203 | 202 | * @see GravityView_Template::template_id |
204 | 203 | * |
205 | - * @param int $view_id The ID of the View to get the layout of |
|
206 | 204 | * |
207 | 205 | * @return string GravityView_Template::template_id value. Empty string if not. |
208 | 206 | */ |
@@ -45,7 +45,6 @@ discard block |
||
45 | 45 | * Trick the GF fileupload field to render with the proper HTML ID to enable the plupload JS to work properly |
46 | 46 | * |
47 | 47 | * @param array $form The Form Object currently being processed. |
48 | - * @param string|array $value The field value. From default/dynamic population, $_POST, or a resumed incomplete submission. |
|
49 | 48 | * @param null|array $entry Null or the Entry Object currently being edited. |
50 | 49 | * @param GF_Field_FileUpload $field Gravity Forms field |
51 | 50 | * |
@@ -74,6 +73,7 @@ discard block |
||
74 | 73 | * |
75 | 74 | * @since 2.0 |
76 | 75 | * @param \GV\Template_Context The context. |
76 | + * @param GV\Template_Context $context |
|
77 | 77 | * |
78 | 78 | * @return array Array of file output, with `file_path` and `html` keys (see comments above) |
79 | 79 | */ |
@@ -72,7 +72,7 @@ |
||
72 | 72 | * |
73 | 73 | * @param mixed $value The value in. |
74 | 74 | * |
75 | - * @return mixed The value out. |
|
75 | + * @return string The value out. |
|
76 | 76 | */ |
77 | 77 | public function get_value( $value ) { |
78 | 78 | return $this->get_string_from_value( $value ); |