Completed
Push — develop ( dd064f...98d1cd )
by Zack
35:55 queued 15:57
created
includes/extensions/delete-entry/class-delete-entry-admin.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,6 @@
 block discarded – undo
67 67
 	 * @since 2.9.2 Moved here from GravityView_Delete_Entry
68 68
 	 *
69 69
 	 * @param array $visibility_caps Array of capabilities to display in field dropdown.
70
-	 * @param string $field_type Type of field options to render (`field` or `widget`)
71 70
 	 * @param string $template_id Table slug
72 71
 	 * @param float $field_id GF Field ID - Example: `3`, `5.2`, `entry_link`, `created_by`
73 72
 	 * @param string $context What context are we in? Example: `single` or `directory`
Please login to merge, or discard this patch.
includes/extensions/delete-entry/class-delete-entry.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
 	 *
64 64
 	 * @since 2.9.2
65 65
 	 *
66
-	 * @param $component
66
+	 * @param string $component
67 67
 	 */
68 68
 	private function load_components( $component ) {
69 69
 
@@ -423,7 +423,7 @@  discard block
 block discarded – undo
423 423
 	 * @uses GFAPI::delete_entry()
424 424
 	 * @uses GFAPI::update_entry_property()
425 425
 	 *
426
-	 * @return WP_Error|string "deleted" or "trashed" if successful, WP_Error if GFAPI::delete_entry() or updating entry failed.
426
+	 * @return string "deleted" or "trashed" if successful, WP_Error if GFAPI::delete_entry() or updating entry failed.
427 427
 	 */
428 428
 	private function delete_or_trash_entry( $entry ) {
429 429
 
@@ -590,7 +590,7 @@  discard block
 block discarded – undo
590 590
 	 *
591 591
 	 * @since 1.5.1
592 592
 	 * @param  array $entry Gravity Forms entry array
593
-	 * @return boolean|WP_Error        True: can edit form. WP_Error: nope.
593
+	 * @return string        True: can edit form. WP_Error: nope.
594 594
 	 */
595 595
 	function user_can_delete_entry( $entry = array(), $view_id = null ) {
596 596
 
@@ -631,7 +631,7 @@  discard block
 block discarded – undo
631 631
 	 *
632 632
 	 * @param  array $entry Gravity Forms entry array
633 633
 	 * @param array $field Field settings (optional)
634
-	 * @param int|\GV\View $view Pass a View ID to check caps against. If not set, check against current View (@deprecated no longer optional)
634
+	 * @param integer $view Pass a View ID to check caps against. If not set, check against current View (@deprecated no longer optional)
635 635
 	 * @return bool
636 636
 	 */
637 637
 	public static function check_user_cap_delete_entry( $entry, $field = array(), $view = 0 ) {
Please login to merge, or discard this patch.