Completed
Push — master ( a1257b...e47a6f )
by Zack
21:54 queued 12:13
created
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.