@@ -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 | */ |
@@ -38,7 +38,6 @@ |
||
38 | 38 | * Set an setting. |
39 | 39 | * |
40 | 40 | * @param mixed $key The key in this setting to retrieve. |
41 | - * @param mixed $default A default in case the key is not set. |
|
42 | 41 | * |
43 | 42 | * @api |
44 | 43 | * @since future |
@@ -38,7 +38,7 @@ |
||
38 | 38 | * |
39 | 39 | * @api |
40 | 40 | * @since future |
41 | - * @return \GV\Entry|null An instance of this entry or null if not found. |
|
41 | + * @return null|GF_Entry An instance of this entry or null if not found. |
|
42 | 42 | */ |
43 | 43 | public static function by_id( $entry_id ) { |
44 | 44 | $entry = \GFAPI::get_entry( $entry_id ); |
@@ -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 |