@@ -298,7 +298,7 @@ |
||
| 298 | 298 | /** |
| 299 | 299 | * Determines if a view exists to begin with. |
| 300 | 300 | * |
| 301 | - * @param int|\WP_Post|null $view_id The WordPress post ID, a \WP_Post object or null for global $post; |
|
| 301 | + * @param int|\WP_Post|null $view The WordPress post ID, a \WP_Post object or null for global $post; |
|
| 302 | 302 | * |
| 303 | 303 | * @api |
| 304 | 304 | * @since future |
@@ -153,7 +153,7 @@ discard block |
||
| 153 | 153 | |
| 154 | 154 | /** |
| 155 | 155 | * Sets the single entry ID and also the entry |
| 156 | - * @param bool|int|string $single_entry |
|
| 156 | + * @param boolean|string $single_entry |
|
| 157 | 157 | */ |
| 158 | 158 | public function setSingleEntry( $single_entry ) { |
| 159 | 159 | |
@@ -170,7 +170,7 @@ discard block |
||
| 170 | 170 | |
| 171 | 171 | /** |
| 172 | 172 | * Set the current entry |
| 173 | - * @param array|int $entry Entry array or entry slug or ID |
|
| 173 | + * @param boolean|string $entry Entry array or entry slug or ID |
|
| 174 | 174 | */ |
| 175 | 175 | public function setEntry( $entry ) { |
| 176 | 176 | |
@@ -228,7 +228,7 @@ discard block |
||
| 228 | 228 | * |
| 229 | 229 | * |
| 230 | 230 | * |
| 231 | - * @param null $view_id |
|
| 231 | + * @param string $view_id |
|
| 232 | 232 | */ |
| 233 | 233 | public function set_context_view_id( $view_id = null ) { |
| 234 | 234 | $multiple_views = defined( 'GRAVITYVIEW_FUTURE_CORE_LOADED' ) ? gravityview()->views->count() > 1 : ( $this->getGvOutputData() && $this->getGvOutputData()->has_multiple_views() ); |
@@ -1213,7 +1213,7 @@ discard block |
||
| 1213 | 1213 | * |
| 1214 | 1214 | * @uses gravityview_get_entries() |
| 1215 | 1215 | * @access public |
| 1216 | - * @param array $args\n |
|
| 1216 | + * @param array $args |
|
| 1217 | 1217 | * - $id - View id |
| 1218 | 1218 | * - $page_size - Page |
| 1219 | 1219 | * - $sort_field - form field id to sort |
@@ -1370,7 +1370,6 @@ discard block |
||
| 1370 | 1370 | * @since 1.19.5 |
| 1371 | 1371 | * |
| 1372 | 1372 | * @param $args |
| 1373 | - * @param int $form_id |
|
| 1374 | 1373 | */ |
| 1375 | 1374 | public static function get_search_criteria_paging( $args ) { |
| 1376 | 1375 | |
@@ -1785,7 +1784,7 @@ discard block |
||
| 1785 | 1784 | /** |
| 1786 | 1785 | * Checks if field (column) is sortable |
| 1787 | 1786 | * |
| 1788 | - * @param string $field Field settings |
|
| 1787 | + * @param string $field_id Field settings |
|
| 1789 | 1788 | * @param array $form Gravity Forms form array |
| 1790 | 1789 | * |
| 1791 | 1790 | * @since 1.7 |