@@ -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 | |
@@ -1105,7 +1105,7 @@ discard block |
||
| 1105 | 1105 | * |
| 1106 | 1106 | * @uses gravityview_get_entries() |
| 1107 | 1107 | * @access public |
| 1108 | - * @param array $args\n |
|
| 1108 | + * @param array $args |
|
| 1109 | 1109 | * - $id - View id |
| 1110 | 1110 | * - $page_size - Page |
| 1111 | 1111 | * - $sort_field - form field id to sort |
@@ -1193,7 +1193,6 @@ discard block |
||
| 1193 | 1193 | * @since 1.19.5 |
| 1194 | 1194 | * |
| 1195 | 1195 | * @param $args |
| 1196 | - * @param int $form_id |
|
| 1197 | 1196 | */ |
| 1198 | 1197 | public static function get_search_criteria_paging( $args ) { |
| 1199 | 1198 | |
@@ -1588,7 +1587,7 @@ discard block |
||
| 1588 | 1587 | /** |
| 1589 | 1588 | * Checks if field (column) is sortable |
| 1590 | 1589 | * |
| 1591 | - * @param string $field Field settings |
|
| 1590 | + * @param string $field_id Field settings |
|
| 1592 | 1591 | * @param array $form Gravity Forms form array |
| 1593 | 1592 | * |
| 1594 | 1593 | * @since 1.7 |
@@ -232,7 +232,7 @@ |
||
| 232 | 232 | * Does the if and the comparison match? |
| 233 | 233 | * @uses GVCommon::matches_operation |
| 234 | 234 | * |
| 235 | - * @return boolean True: yep; false: nope |
|
| 235 | + * @return boolean|null True: yep; false: nope |
|
| 236 | 236 | */ |
| 237 | 237 | private function set_is_match() { |
| 238 | 238 | $this->is_match = GVCommon::matches_operation( $this->if, $this->comparison, $this->operation ); |
@@ -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 | */ |
@@ -45,7 +45,6 @@ |
||
| 45 | 45 | * Trick the GF fileupload field to render with the proper HTML ID to enable the plupload JS to work properly |
| 46 | 46 | * |
| 47 | 47 | * @param array $form The Form Object currently being processed. |
| 48 | - * @param string|array $value The field value. From default/dynamic population, $_POST, or a resumed incomplete submission. |
|
| 49 | 48 | * @param null|array $entry Null or the Entry Object currently being edited. |
| 50 | 49 | * @param GF_Field_FileUpload $field Gravity Forms field |
| 51 | 50 | * |