Completed
Pull Request — master (#785)
by
unknown
32:19 queued 12:02
created
includes/class-frontend-views.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
 
151 151
 	/**
152 152
 	 * Sets the single entry ID and also the entry
153
-	 * @param bool|int|string $single_entry
153
+	 * @param boolean|string $single_entry
154 154
 	 */
155 155
 	public function setSingleEntry( $single_entry ) {
156 156
 
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
 
168 168
 	/**
169 169
 	 * Set the current entry
170
-	 * @param array|int $entry Entry array or entry slug or ID
170
+	 * @param boolean|string $entry Entry array or entry slug or ID
171 171
 	 */
172 172
 	public function setEntry( $entry ) {
173 173
 
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
 	 *
226 226
 	 *
227 227
 	 *
228
-	 * @param null $view_id
228
+	 * @param string $view_id
229 229
 	 */
230 230
 	public function set_context_view_id( $view_id = null ) {
231 231
 
@@ -957,7 +957,7 @@  discard block
 block discarded – undo
957 957
 	 *
958 958
 	 * @uses  gravityview_get_entries()
959 959
 	 * @access public
960
-	 * @param array $args\n
960
+	 * @param array $args
961 961
 	 *   - $id - View id
962 962
 	 *   - $page_size - Page
963 963
 	 *   - $sort_field - form field id to sort
@@ -1413,7 +1413,7 @@  discard block
 block discarded – undo
1413 1413
 	/**
1414 1414
 	 * Checks if field (column) is sortable
1415 1415
 	 *
1416
-	 * @param string $field Field settings
1416
+	 * @param string $field_id Field settings
1417 1417
 	 * @param array $form Gravity Forms form array
1418 1418
 	 *
1419 1419
 	 * @since 1.7
Please login to merge, or discard this patch.
includes/connector-functions.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
  *
57 57
  * @see GVCommon::get_form_fields()
58 58
  * @access public
59
- * @param string|array $form_id (default: '') or $form object
59
+ * @param string|array $form (default: '') or $form object
60 60
  * @return array
61 61
  */
62 62
 function gravityview_get_form_fields( $form = '', $add_default_properties = false, $include_parent_field = true ) {
@@ -94,6 +94,7 @@  discard block
 block discarded – undo
94 94
  * @param int|array $form_ids The ID of the form or an array IDs of the Forms. Zero for all forms.
95 95
  * @param mixed $passed_criteria (default: null)
96 96
  * @param mixed &$total (default: null)
97
+ * @param integer $total
97 98
  * @return mixed False: Error fetching entries. Array: Multi-dimensional array of Gravity Forms entry arrays
98 99
  */
99 100
 function gravityview_get_entries( $form_ids = null, $passed_criteria = null, &$total = null ) {
@@ -106,7 +107,6 @@  discard block
 block discarded – undo
106 107
  * Since 1.4, supports custom entry slugs. The way that GravityView fetches an entry based on the custom slug is by searching `gravityview_unique_id` meta. The `$entry_slug` is fetched by getting the current query var set by `is_single_entry()`
107 108
  *
108 109
  * @access public
109
- * @param mixed $entry_id
110 110
  * @param boolean $force_allow_ids Force the get_entry() method to allow passed entry IDs, even if the `gravityview_custom_entry_slug_allow_id` filter returns false.
111 111
  * @param boolean $check_entry_display Check whether the entry is visible for the current View configuration. Default: true {@since 1.14}
112 112
  * @return array|boolean
@@ -193,7 +193,6 @@  discard block
 block discarded – undo
193 193
  *
194 194
  * @see GravityView_Template::template_id
195 195
  *
196
- * @param int $view_id The ID of the View to get the layout of
197 196
  *
198 197
  * @return string GravityView_Template::template_id value. Empty string if not.
199 198
  */
Please login to merge, or discard this patch.
includes/class-admin-approve-entries.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -265,7 +265,7 @@  discard block
 block discarded – undo
265 265
 	 *
266 266
 	 * @uses  GravityView_frontend::get_search_criteria() Convert the $_POST search request into a properly formatted request.
267 267
 	 * @access public
268
-	 * @return void|boolean
268
+	 * @return false|null
269 269
 	 */
270 270
 	public function process_bulk_action() {
271 271
 
@@ -362,7 +362,7 @@  discard block
 block discarded – undo
362 362
      * @since 1.18 Moved to GravityView_Entry_Approval::get_approved_column
363 363
      * @see GravityView_Entry_Approval::get_approved_column
364 364
      *
365
-	 * @param mixed $form GF Form or Form ID
365
+	 * @param integer $form GF Form or Form ID
366 366
 	 * @return false|null|string Returns the input ID of the approved field. Returns NULL if no approved fields were found. Returns false if $form_id wasn't set.
367 367
 	 */
368 368
 	static public function get_approved_column( $form ) {
Please login to merge, or discard this patch.
includes/class-gravityview-entry-approval.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -324,7 +324,7 @@  discard block
 block discarded – undo
324 324
 	 * @param  int $entry_id ID of the Gravity Forms entry
325 325
 	 * @param  string $status String whether entry is approved or not. `0` for not approved, `Approved` for approved.
326 326
 	 * @param int $form_id ID of the form of the entry being updated. Improves query performance.
327
-	 * @param string $approvedcolumn Gravity Forms Field ID
327
+	 * @param integer $approvedcolumn Gravity Forms Field ID
328 328
 	 *
329 329
 	 * @return true|WP_Error
330 330
 	 */
@@ -416,7 +416,7 @@  discard block
 block discarded – undo
416 416
 	 * @access public
417 417
 	 * @static
418 418
 	 * @param mixed $form GF Form or Form ID
419
-	 * @return false|null|string Returns the input ID of the approved field. Returns NULL if no approved fields were found. Returns false if $form_id wasn't set.
419
+	 * @return integer Returns the input ID of the approved field. Returns NULL if no approved fields were found. Returns false if $form_id wasn't set.
420 420
 	 */
421 421
 	static public function get_approved_column( $form ) {
422 422
 
Please login to merge, or discard this patch.
includes/class-common.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -210,7 +210,7 @@
 block discarded – undo
210 210
 	 * Return array of fields' id and label, for a given Form ID
211 211
 	 *
212 212
 	 * @access public
213
-	 * @param string|array $form_id (default: '') or $form object
213
+	 * @param string|array $form (default: '') or $form object
214 214
 	 * @param bool $add_default_properties
215 215
 	 * @param bool $include_parent_field
216 216
 	 * @return array
Please login to merge, or discard this patch.
includes/fields/class-gravityview-fields.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,6 @@
 block discarded – undo
88 88
 	/**
89 89
 	 * Alias for get_instance()
90 90
 	 *
91
-	 * @param string|GF_Field $field_name Gravity Forms field class or the class name type
92 91
 	 *
93 92
 	 * @return GravityView_Field|false Returns false if no matching fields found
94 93
 	 */
Please login to merge, or discard this patch.