@@ -59,7 +59,6 @@ |
||
| 59 | 59 | * |
| 60 | 60 | * @param string $output HTML value output |
| 61 | 61 | * @param array $entry The GF entry array |
| 62 | - * @param array $field_settings Settings for the particular GV field |
|
| 63 | 62 | * @param array $field Field array, as fetched from GravityView_View::getCurrentField() |
| 64 | 63 | * |
| 65 | 64 | * @return string The field setting label for the current status. Uses defaults, if not configured. |
@@ -95,7 +95,7 @@ |
||
| 95 | 95 | * @param string $icon_class_name Icon class used in vertical tabs. Supports non-dashicon. If dashicons, no need for `dashicons ` prefix |
| 96 | 96 | * @param string $callback Function to render the metabox, if $file is not defined. |
| 97 | 97 | * @param array $callback_args Arguments passed to the callback |
| 98 | - * @return void |
|
| 98 | + * @return GravityView_Metabox_Tab |
|
| 99 | 99 | */ |
| 100 | 100 | function __construct( $id, $title = '', $file = '', $icon_class_name = '', $callback = '', $callback_args = array() ) { |
| 101 | 101 | |
@@ -371,7 +371,7 @@ discard block |
||
| 371 | 371 | * @param int $entry_id ID of the Gravity Forms entry |
| 372 | 372 | * @param string $status String whether entry is approved or not. `0` for not approved, `Approved` for approved. |
| 373 | 373 | * @param int $form_id ID of the form of the entry being updated. Improves query performance. |
| 374 | - * @param string $approvedcolumn Gravity Forms Field ID |
|
| 374 | + * @param integer $approvedcolumn Gravity Forms Field ID |
|
| 375 | 375 | * |
| 376 | 376 | * @return true|WP_Error |
| 377 | 377 | */ |
@@ -424,7 +424,7 @@ discard block |
||
| 424 | 424 | * |
| 425 | 425 | * @since 1.19 |
| 426 | 426 | * |
| 427 | - * @param array|int $form Form ID or form array |
|
| 427 | + * @param integer $form Form ID or form array |
|
| 428 | 428 | * @param string $approved_column Approved column field ID |
| 429 | 429 | * |
| 430 | 430 | * @return string|null |
@@ -245,7 +245,7 @@ |
||
| 245 | 245 | * @param bool $url_encode Whether to URL-encode output |
| 246 | 246 | * @param bool $esc_html Whether to apply `esc_html()` to output |
| 247 | 247 | * |
| 248 | - * @return mixed |
|
| 248 | + * @return string |
|
| 249 | 249 | */ |
| 250 | 250 | public function replace_merge_tag( $matches = array(), $text = '', $form = array(), $entry = array(), $url_encode = false, $esc_html = false ) { |
| 251 | 251 | |
@@ -77,7 +77,7 @@ |
||
| 77 | 77 | /** |
| 78 | 78 | * Alias for get_instance() |
| 79 | 79 | * |
| 80 | - * @param $field_name |
|
| 80 | + * @param string $field_name |
|
| 81 | 81 | * |
| 82 | 82 | * @return GravityView_Field|false |
| 83 | 83 | */ |
@@ -313,6 +313,7 @@ |
||
| 313 | 313 | * Add a callback for lazy loading/counting. |
| 314 | 314 | * |
| 315 | 315 | * @param callable $callback The callback to call when needed. |
| 316 | + * @param string $type |
|
| 316 | 317 | * |
| 317 | 318 | * @return void |
| 318 | 319 | */ |
@@ -10,6 +10,7 @@ discard block |
||
| 10 | 10 | * @internal |
| 11 | 11 | * @since 2.0 |
| 12 | 12 | * |
| 13 | + * @param \GravityView_View_Data $_this |
|
| 13 | 14 | * @return array|false The old array data, or false on error. |
| 14 | 15 | */ |
| 15 | 16 | function GravityView_View_Data_add_view( $view_id, $atts, $_this ) { |
@@ -62,6 +63,8 @@ discard block |
||
| 62 | 63 | * @internal |
| 63 | 64 | * @since 2.0 |
| 64 | 65 | * |
| 66 | + * @param integer $form_id |
|
| 67 | + * @param integer $count |
|
| 65 | 68 | * @return array The old associative array data as returned by |
| 66 | 69 | * \GravityView_frontend::get_view_entries(), the paging parameters |
| 67 | 70 | * and a total count of all entries. |
@@ -155,6 +158,7 @@ discard block |
||
| 155 | 158 | * @internal |
| 156 | 159 | * @since 2.0 |
| 157 | 160 | * |
| 161 | + * @param string $format |
|
| 158 | 162 | * @return null|string The value of a field in an entry. |
| 159 | 163 | */ |
| 160 | 164 | function GravityView_API_field_value( $entry, $field_settings, $format ) { |
@@ -102,7 +102,7 @@ |
||
| 102 | 102 | * |
| 103 | 103 | * @param array $entry The array ID. |
| 104 | 104 | * |
| 105 | - * @return \GV\Entry|null An instance of this entry or null if not found. |
|
| 105 | + * @return null|GF_Entry An instance of this entry or null if not found. |
|
| 106 | 106 | */ |
| 107 | 107 | public static function from_entry( $entry ) { |
| 108 | 108 | if ( empty( $entry['id'] ) ) { |
@@ -207,7 +207,7 @@ discard block |
||
| 207 | 207 | * - Checks PHP version numbers |
| 208 | 208 | * - Sets self::$is_compatible[__CLASS__] to boolean value |
| 209 | 209 | * |
| 210 | - * @return boolean Is the extension supported? |
|
| 210 | + * @return boolean|null Is the extension supported? |
|
| 211 | 211 | */ |
| 212 | 212 | protected function is_extension_supported() { |
| 213 | 213 | |
@@ -329,7 +329,7 @@ discard block |
||
| 329 | 329 | /** |
| 330 | 330 | * Add a notice to be displayed in the admin. |
| 331 | 331 | * |
| 332 | - * @param array $notice Array with `class` and `message` keys. The message is not escaped. |
|
| 332 | + * @param string $notice Array with `class` and `message` keys. The message is not escaped. |
|
| 333 | 333 | * |
| 334 | 334 | * @return void |
| 335 | 335 | */ |