@@ -335,7 +335,7 @@ discard block |
||
335 | 335 | * rest A REST call. |
336 | 336 | * @param \GV\Request $request The request |
337 | 337 | * |
338 | - * @return bool|\WP_Error An error if this View shouldn't be rendered here. |
|
338 | + * @return \WP_Error|null An error if this View shouldn't be rendered here. |
|
339 | 339 | */ |
340 | 340 | public function can_render( $context = null, $request = null ) { |
341 | 341 | if ( ! $request ) { |
@@ -745,6 +745,7 @@ discard block |
||
745 | 745 | * Retrieve the entries for the current view and request. |
746 | 746 | * |
747 | 747 | * @param \GV\Request The request. Usued for now. |
748 | + * @param Request $request |
|
748 | 749 | * |
749 | 750 | * @return \GV\Entry_Collection The entries. |
750 | 751 | */ |
@@ -395,7 +395,7 @@ discard block |
||
395 | 395 | * @param int $entry_id ID of the Gravity Forms entry |
396 | 396 | * @param string $status String whether entry is approved or not. `0` for not approved, `Approved` for approved. |
397 | 397 | * @param int $form_id ID of the form of the entry being updated. Improves query performance. |
398 | - * @param string $approvedcolumn Gravity Forms Field ID |
|
398 | + * @param integer $approvedcolumn Gravity Forms Field ID |
|
399 | 399 | * |
400 | 400 | * @return true|WP_Error |
401 | 401 | */ |
@@ -448,7 +448,7 @@ discard block |
||
448 | 448 | * |
449 | 449 | * @since 1.19 |
450 | 450 | * |
451 | - * @param array|int $form Form ID or form array |
|
451 | + * @param integer $form Form ID or form array |
|
452 | 452 | * @param string $approved_column Approved column field ID |
453 | 453 | * |
454 | 454 | * @return string|null |
@@ -577,7 +577,6 @@ discard block |
||
577 | 577 | * |
578 | 578 | * @param array $form Gravity Forms form array |
579 | 579 | * @param string $entry_id Numeric ID of the entry that was updated |
580 | - * @param GravityView_Edit_Entry_Render $this This object |
|
581 | 580 | * @param GravityView_View_Data $gv_data The View data |
582 | 581 | * |
583 | 582 | * @return void |
@@ -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 |