@@ -132,10 +132,8 @@ |
||
132 | 132 | /** |
133 | 133 | * Get a \GV\Field by Form and Field ID for this data source. |
134 | 134 | * |
135 | - * @param \GV\GF_Form $form The Gravity Form form ID. |
|
136 | - * @param int $field_id The Gravity Form field ID for the $form_id. |
|
137 | 135 | * |
138 | - * @return \GV\Field|null The requested field or null if not found. |
|
136 | + * @return null|GF_Field The requested field or null if not found. |
|
139 | 137 | */ |
140 | 138 | public static function get_field( /** varargs */ ) { |
141 | 139 | $args = func_get_args(); |
@@ -350,7 +350,7 @@ discard block |
||
350 | 350 | * Generate the status message box HTML based on the current status |
351 | 351 | * |
352 | 352 | * @since 1.7.4 |
353 | - * @param $message |
|
353 | + * @param string $message |
|
354 | 354 | * @param string $class |
355 | 355 | * |
356 | 356 | * @return string |
@@ -470,6 +470,9 @@ discard block |
||
470 | 470 | $this->settings->update( $settings ); |
471 | 471 | } |
472 | 472 | |
473 | + /** |
|
474 | + * @param boolean $echo |
|
475 | + */ |
|
473 | 476 | public function settings_edd_license_activation( $field, $echo ) { |
474 | 477 | $script_debug = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min'; |
475 | 478 | |
@@ -569,7 +572,6 @@ discard block |
||
569 | 572 | * Check the GravityView license information |
570 | 573 | * |
571 | 574 | * @since 1.19.3 |
572 | - * @param bool $force Whether to force checking license, even if AJAX |
|
573 | 575 | * |
574 | 576 | * @return void |
575 | 577 | */ |
@@ -64,7 +64,7 @@ |
||
64 | 64 | * Set an setting. |
65 | 65 | * |
66 | 66 | * @param mixed $key The key in this setting to retrieve. |
67 | - * @param mixed $default A default in case the key is not set. |
|
67 | + * @param false|null $default A default in case the key is not set. |
|
68 | 68 | * |
69 | 69 | * @api |
70 | 70 | * @since 2.0 |
@@ -24,7 +24,6 @@ |
||
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 | 28 | * @return \GV\Field|null The requested field or null if not found. |
30 | 29 | */ |
@@ -22,7 +22,7 @@ |
||
22 | 22 | * |
23 | 23 | * @param \GV\Field $field The field to be ouput. |
24 | 24 | * |
25 | - * @return string|false The field output or false if "hide_empty" is set. |
|
25 | + * @return null|string The field output or false if "hide_empty" is set. |
|
26 | 26 | */ |
27 | 27 | public function the_field( \GV\Field $field ) { |
28 | 28 | $renderer = new Field_Renderer(); |
@@ -63,7 +63,6 @@ |
||
63 | 63 | * Initializer. |
64 | 64 | * |
65 | 65 | * @param \GV\View $view The View connected to this template. |
66 | - * @param \GV\Entry_Collection $entries A collection of entries for this view. |
|
67 | 66 | * @param \GV\Request $request The request context. |
68 | 67 | */ |
69 | 68 | public function __construct( Entry $entry, View $view, Request $request ) { |
@@ -51,7 +51,7 @@ |
||
51 | 51 | * @param \GV\Field $field The Field. |
52 | 52 | * @param \GV\Request $request The request. |
53 | 53 | * |
54 | - * @return void |
|
54 | + * @return string|null |
|
55 | 55 | */ |
56 | 56 | public function __construct( \GV\View $view, \GV\Entry $entry = null, \GV\Field $field = null, \GV\Request $request = null ) { |
57 | 57 | add_filter( $this->filter_prefix . '_get_template_part', array( $this, 'add_id_specific_templates' ), 10, 3 ); |
@@ -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 | */ |
@@ -595,6 +595,7 @@ |
||
595 | 595 | * Retrieve the entries for the current view and request. |
596 | 596 | * |
597 | 597 | * @param \GV\Request The request. Usued for now. |
598 | + * @param Request|null $request |
|
598 | 599 | * |
599 | 600 | * @return \GV\Entry_Collection The entries. |
600 | 601 | */ |