@@ -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 | */ |