Completed
Push — master ( a1257b...e47a6f )
by Zack
21:54 queued 12:13
created
future/includes/class-gv-shortcode-gventry.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,6 @@
 block discarded – undo
18 18
 	/**
19 19
 	 * Process and output the [gventry] shortcode.
20 20
 	 *
21
-	 * @param array $passed_atts The attributes passed.
22 21
 	 * @param string $content The content inside the shortcode.
23 22
 	 * @param string $tag The shortcode tag.
24 23
 	 *
Please login to merge, or discard this patch.
future/includes/class-gv-shortcode-gvfield.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,6 @@
 block discarded – undo
18 18
 	/**
19 19
 	 * Process and output the [gvfield] shortcode.
20 20
 	 *
21
-	 * @param array $passed_atts The attributes passed.
22 21
 	 * @param string $content The content inside the shortcode.
23 22
 	 * @param string $tag The shortcode tag.
24 23
 	 *
Please login to merge, or discard this patch.
future/includes/class-gv-widget.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -393,7 +393,7 @@
 block discarded – undo
393 393
 	 * @internal
394 394
 	 * @since 2.0
395 395
 	 *
396
-	 * @return \GV\Widget|null The widget implementation from configuration or none.
396
+	 * @return Widget The widget implementation from configuration or none.
397 397
 	 */
398 398
 	public static function from_configuration( $configuration ) {
399 399
 		$registered_widgets = self::registered();
Please login to merge, or discard this patch.
includes/extensions/duplicate-entry/class-duplicate-entry.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
 	 *
88 88
 	 * @param array $file_paths List of template paths ordered
89 89
 	 *
90
-	 * @return array File paths, with duplicate field path added at index 117
90
+	 * @return string[] File paths, with duplicate field path added at index 117
91 91
 	 */
92 92
 	public function add_template_path( $file_paths ) {
93 93
 
@@ -193,7 +193,6 @@  discard block
 block discarded – undo
193 193
 	 * @since 2.5
194 194
 	 *
195 195
 	 * @param  array 	    $visibility_caps        Array of capabilities to display in field dropdown.
196
-	 * @param  string       $field_type  Type of field options to render (`field` or `widget`)
197 196
 	 * @param  string       $template_id Table slug
198 197
 	 * @param  float|string $field_id    GF Field ID - Example: `3`, `5.2`, `entry_link`, `created_by`
199 198
 	 * @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   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -222,7 +222,6 @@  discard block
 block discarded – undo
222 222
 	 *
223 223
 	 * @since 1.5.1
224 224
 	 * @param  array 	   $visibility_caps        Array of capabilities to display in field dropdown.
225
-	 * @param  string      $field_type  Type of field options to render (`field` or `widget`)
226 225
 	 * @param  string      $template_id Table slug
227 226
 	 * @param  float       $field_id    GF Field ID - Example: `3`, `5.2`, `entry_link`, `created_by`
228 227
 	 * @param  string      $context     What context are we in? Example: `single` or `directory`
@@ -651,7 +650,7 @@  discard block
 block discarded – undo
651 650
 	 *
652 651
 	 * @param  array $entry Gravity Forms entry array
653 652
 	 * @param array $field Field settings (optional)
654
-	 * @param int|\GV\View $view Pass a View ID to check caps against. If not set, check against current View (@deprecated no longer optional)
653
+	 * @param integer $view Pass a View ID to check caps against. If not set, check against current View (@deprecated no longer optional)
655 654
 	 * @return bool
656 655
 	 */
657 656
 	public static function check_user_cap_delete_entry( $entry, $field = array(), $view = 0 ) {
Please login to merge, or discard this patch.
future/includes/class-gv-shortcode-gvlogic.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -262,6 +262,8 @@
 block discarded – undo
262 262
 	/**
263 263
 	 * Process the attributes passed to the shortcode. Make sure they're valid
264 264
 	 *
265
+	 * @param string $content
266
+	 * @param string $tag
265 267
 	 * @return array Array of attributes parsed for the shortcode
266 268
 	 */
267 269
 	private function parse_atts( $atts, $content, $tag ) {
Please login to merge, or discard this patch.
includes/connector-functions.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
  *
58 58
  * @see GVCommon::get_form_fields()
59 59
  * @access public
60
- * @param string|array $form_id (default: '') or $form object
60
+ * @param string|array $form (default: '') or $form object
61 61
  * @return array
62 62
  */
63 63
 function gravityview_get_form_fields( $form = '', $add_default_properties = false, $include_parent_field = true ) {
@@ -219,7 +219,6 @@  discard block
 block discarded – undo
219 219
  *
220 220
  * @see GravityView_Template::template_id
221 221
  *
222
- * @param int $view_id The ID of the View to get the layout of
223 222
  *
224 223
  * @return string GravityView_Template::template_id value. Empty string if not.
225 224
  */
Please login to merge, or discard this patch.
includes/class-api.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -236,7 +236,6 @@  discard block
 block discarded – undo
236 236
 	 *
237 237
 	 * @access public
238 238
 	 * @param array $entry
239
-	 * @param array $field
240 239
 	 * @return null|string
241 240
 	 */
242 241
 	public static function field_value( $entry, $field_settings, $format = 'html' ) {
@@ -490,7 +489,7 @@  discard block
 block discarded – undo
490 489
 	 * @see gravityview_get_entry()
491 490
 	 * @uses GravityView_API::get_custom_entry_slug() If using custom slug, gets the custom slug value
492 491
 	 * @since 1.4
493
-	 * @param  int|string $id_or_string ID of the entry, or custom slug string
492
+	 * @param  integer $id_or_string ID of the entry, or custom slug string
494 493
 	 * @param  array  $entry        Gravity Forms Entry array, optional. Used only to provide data to customize the `gravityview_entry_slug` filter
495 494
 	 * @return string               Unique slug ID, passed through `sanitize_title()`
496 495
 	 */
@@ -789,6 +788,9 @@  discard block
 block discarded – undo
789 788
 	return $value;
790 789
 }
791 790
 
791
+/**
792
+ * @param GV\Template_Context $context
793
+ */
792 794
 function gv_directory_link( $post = NULL, $add_pagination = true, $context = null ) {
793 795
 	return GravityView_API::directory_link( $post, $add_pagination, $context );
794 796
 }
@@ -1297,6 +1299,7 @@  discard block
 block discarded – undo
1297 1299
  * @param  array $passed_args Associative array with field data. `field` and `form` are required.
1298 1300
  * @since  2.0
1299 1301
  * @param  \GV\Template_Context The template context.
1302
+ * @param GV\Template_Context $context
1300 1303
  * @return string Field output. If empty value and hide empty is true, return empty.
1301 1304
  */
1302 1305
 function gravityview_field_output( $passed_args, $context = null ) {
Please login to merge, or discard this patch.
includes/extensions/entry-notes/class-gravityview-field-notes.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -357,7 +357,7 @@  discard block
 block discarded – undo
357 357
 	 *
358 358
 	 * @param array $file_paths List of template paths ordered
359 359
 	 *
360
-	 * @return array File paths with `./` and `./partials/` paths added
360
+	 * @return string[] File paths with `./` and `./partials/` paths added
361 361
 	 */
362 362
 	public function add_template_path( $file_paths ) {
363 363
 
@@ -549,7 +549,7 @@  discard block
 block discarded – undo
549 549
 	 * @param array $entry
550 550
 	 * @param array $data Note details array
551 551
 	 *
552
-	 * @return int|WP_Error
552
+	 * @return integer
553 553
 	 */
554 554
 	private function add_note( $entry, $data ) {
555 555
 		global $current_user, $wpdb;
Please login to merge, or discard this patch.