Completed
Pull Request — develop (#1523)
by Zack
19:02
created
includes/class-gravityview-entry-list.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -87,13 +87,13 @@
 block discarded – undo
87 87
 	 * @since 2.0 Added $template_context parameter
88 88
 	 * @since 2.7.2 Added $view_id parameter
89 89
 	 *
90
-	 * @param array|GV\Entry[] $entries
90
+	 * @param GV\Entry[] $entries
91 91
 	 * @param int $post_id
92 92
 	 * @param array $form
93 93
 	 * @param string $link_format
94 94
 	 * @param string $after_link
95 95
 	 * @param \GV\Template_Context $template_context The context
96
-	 * @param int|null $view_id View to link to when displaying on a page with multiple Views
96
+	 * @param integer $view_id View to link to when displaying on a page with multiple Views
97 97
 	 */
98 98
 	function __construct( $entries = array(), $post_id = 0, $form = array(), $link_format = '', $after_link = '', $context = '', $template_context = null, $view_id = 0 ) {
99 99
 		$this->entries = $entries;
Please login to merge, or discard this patch.
includes/wordpress-widgets/class-gravityview-recent-entries-widget.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -176,7 +176,7 @@
 block discarded – undo
176 176
 	 * @param  array $instance Settings for the current widget
177 177
 	 * @param  string $form_id Form ID int, as string
178 178
 	 *
179
-	 * @return array|GV\Entry[] $entries Multidimensional array of Gravity Forms entries or GravityView Entry objects
179
+	 * @return GV\Entry[] $entries Multidimensional array of Gravity Forms entries or GravityView Entry objects
180 180
 	 */
181 181
 	private function get_entries( $instance, $form_id ) {
182 182
 
Please login to merge, or discard this patch.
includes/admin/class-gravityview-support-port.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,6 @@
 block discarded – undo
47 47
 	 * @param string $atts
48 48
 	 * @param string $css_class
49 49
 	 * @param string $anchor_text
50
-	 * @param string $link_text
51 50
 	 *
52 51
 	 * @return string If no article information exists, original tooltip. Otherwise, modified!
53 52
 	 */
Please login to merge, or discard this patch.
future/includes/class-gv-utils.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
 	 * @param string $name The key name (will be prefixed).
53 53
 	 * @param mixed $default The default value if not found (Default: null)
54 54
 	 *
55
-	 * @return mixed The value or $default if not found.
55
+	 * @return string The value or $default if not found.
56 56
 	 */
57 57
 	public static function _SERVER( $name, $default = null ) {
58 58
 		return self::get( $_SERVER, $name, $default );
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
 	 *
127 127
 	 * @param mixed $value The value to return from the closure.
128 128
 	 *
129
-	 * @return Closure The closure with the $value bound.
129
+	 * @return \Closure The closure with the $value bound.
130 130
 	 */
131 131
 	public static function _return( $value ) {
132 132
 		return function() use ( $value ) { return $value; };
Please login to merge, or discard this patch.
includes/extensions/duplicate-entry/class-duplicate-entry.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
 	 *
91 91
 	 * @param array $fields Array of field types not editable by users
92 92
 	 *
93
-	 * @return array
93
+	 * @return string[]
94 94
 	 */
95 95
 	public function _filter_sortable_fields( $fields ) {
96 96
 
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
 	 *
109 109
 	 * @param array $file_paths List of template paths ordered
110 110
 	 *
111
-	 * @return array File paths, with duplicate field path added at index 117
111
+	 * @return string[] File paths, with duplicate field path added at index 117
112 112
 	 */
113 113
 	public function add_template_path( $file_paths ) {
114 114
 
@@ -213,7 +213,6 @@  discard block
 block discarded – undo
213 213
 	 * @since 2.5
214 214
 	 *
215 215
 	 * @param  array 	    $visibility_caps        Array of capabilities to display in field dropdown.
216
-	 * @param  string       $field_type  Type of field options to render (`field` or `widget`)
217 216
 	 * @param  string       $template_id Table slug
218 217
 	 * @param  float|string $field_id    GF Field ID - Example: `3`, `5.2`, `entry_link`, `created_by`
219 218
 	 * @param  string       $context     What context are we in? Example: `single` or `directory`
Please login to merge, or discard this patch.
includes/widgets/class-gravityview-widget-gravityforms.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
 	 *
74 74
 	 * @param array $allowlist Array of widgets to show before a search is performed, if the setting is enabled.
75 75
 	 *
76
-	 * @return array
76
+	 * @return string[]
77 77
 	 */
78 78
 	function add_to_allowlist( $allowlist ) {
79 79
 
Please login to merge, or discard this patch.
future/lib/EDD_SL_Plugin_Updater.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
 	 * @uses api_request()
98 98
 	 *
99 99
 	 * @param array   $_transient_data Update array build by WordPress.
100
-	 * @return array Modified update array with custom plugin data.
100
+	 * @return stdClass Modified update array with custom plugin data.
101 101
 	 */
102 102
 	public function check_update( $_transient_data ) {
103 103
 
Please login to merge, or discard this patch.
future/includes/class-gv-license-handler.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -510,6 +510,9 @@  discard block
 block discarded – undo
510 510
 		$this->settings->set( $settings );
511 511
 	}
512 512
 
513
+	/**
514
+	 * @param boolean $echo
515
+	 */
513 516
 	public function settings_edd_license_activation( $field, $echo ) {
514 517
 
515 518
 		$script_debug = ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ) ? '' : '.min';
@@ -617,7 +620,6 @@  discard block
 block discarded – undo
617 620
 	 * Check the GravityView license information
618 621
 	 *
619 622
 	 * @since 1.19.3
620
-	 * @param bool $force Whether to force checking license, even if AJAX
621 623
 	 *
622 624
 	 * @return void
623 625
 	 */
Please login to merge, or discard this patch.
future/includes/class-gv-settings-addon.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@
 block discarded – undo
140 140
 	 *
141 141
 	 * @param array $items Styles to exclude from no-conflict
142 142
 	 *
143
-	 * @return array
143
+	 * @return string[]
144 144
 	 */
145 145
 	public function register_no_conflict( $items ) {
146 146
 
Please login to merge, or discard this patch.