Completed
Push — update/travis-matrix-7 ( 497e3e...cc9f21 )
by
unknown
34:26 queued 14:09
created
class.jetpack-autoupdate.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
 	/**
112 112
 	 * Iterates through expected items ( plugins or themes ) and compares them to actual results.
113 113
 	 *
114
-	 * @param $items 'plugin' or 'theme'
114
+	 * @param string $items 'plugin' or 'theme'
115 115
 	 */
116 116
 	private function log_items( $items ) {
117 117
 
Please login to merge, or discard this patch.
class.jetpack-sync.php 1 patch
Doc Comments   +9 added lines, -3 removed lines patch added patch discarded remove patch
@@ -65,7 +65,6 @@  discard block
 block discarded – undo
65 65
 
66 66
 	/**
67 67
 	 * @param string $file __FILE__
68
-	 * @param string $option, Option name to sync
69 68
 	 * @param string $option ...
70 69
 	 */
71 70
 	static function sync_options( $file, $option /*, $option, ... */ ) {
@@ -76,8 +75,6 @@  discard block
 block discarded – undo
76 75
 	}
77 76
 	/**
78 77
 	 * @param string $file __FILE__
79
-	 * @param string $option, Option name to sync
80
-	 * @param string $option ...
81 78
 	 */
82 79
 	static function sync_constant( $file, $constant ) {
83 80
 		if ( is_network_admin() ) return;
@@ -353,6 +350,9 @@  discard block
 block discarded – undo
353 350
 		$this->transition_post_status_action( 'delete', $post->post_status, $post );
354 351
 	}
355 352
 
353
+	/**
354
+	 * @param string $new_status
355
+	 */
356 356
 	function transition_post_status_action( $new_status, $old_status, $post ) {
357 357
 		$sync = $this->get_post_sync_operation( $new_status, $old_status, $post, $this->sync_conditions['posts'] );
358 358
 		if ( !$sync ) {
@@ -737,6 +737,11 @@  discard block
 block discarded – undo
737 737
 /* Options Sync */
738 738
 
739 739
 	/* Ah... so much simpler than Posts and Comments :) */
740
+
741
+	/**
742
+	 * @param string $file
743
+	 * @param string $option
744
+	 */
740 745
 	function options( $file, $option /*, $option, ... */ ) {
741 746
 		$options = func_get_args();
742 747
 		$file = array_shift( $options );
@@ -844,6 +849,7 @@  discard block
 block discarded – undo
844 849
 
845 850
 	/**
846 851
 	 * Returns default values of Constants
852
+	 * @param string $constant
847 853
 	 */
848 854
 	function default_constant( $constant ) {
849 855
 		switch( $constant ) {
Please login to merge, or discard this patch.
modules/custom-post-types/portfolios.php 1 patch
Doc Comments   +5 added lines, -4 removed lines patch added patch discarded remove patch
@@ -393,7 +393,7 @@  discard block
 block discarded – undo
393 393
 	 * Our [portfolio] shortcode.
394 394
 	 * Prints Portfolio data styled to look good on *any* theme.
395 395
 	 *
396
-	 * @return portfolio_shortcode_html
396
+	 * @return string
397 397
 	 */
398 398
 	static function portfolio_shortcode( $atts ) {
399 399
 		// Default attributes
@@ -526,7 +526,7 @@  discard block
 block discarded – undo
526 526
 	 * The Portfolio shortcode loop.
527 527
 	 *
528 528
 	 * @todo add theme color styles
529
-	 * @return html
529
+	 * @return string
530 530
 	 */
531 531
 	static function portfolio_shortcode_html( $atts ) {
532 532
 
@@ -618,6 +618,7 @@  discard block
 block discarded – undo
618 618
 	/**
619 619
 	 * Individual project class
620 620
 	 *
621
+	 * @param integer $portfolio_index_number
621 622
 	 * @return string
622 623
 	 */
623 624
 	static function get_project_class( $portfolio_index_number, $columns ) {
@@ -725,7 +726,7 @@  discard block
 block discarded – undo
725 726
 	/**
726 727
 	 * Displays the author of the current portfolio project.
727 728
 	 *
728
-	 * @return html
729
+	 * @return string
729 730
 	 */
730 731
 	static function get_project_author() {
731 732
 		$html = '<div class="project-author"><span>' . esc_html__( 'Author:', 'jetpack' ) . '</span> ';
@@ -738,7 +739,7 @@  discard block
 block discarded – undo
738 739
 	/**
739 740
 	 * Display the featured image if it's available
740 741
 	 *
741
-	 * @return html
742
+	 * @return string|null
742 743
 	 */
743 744
 	static function get_portfolio_thumbnail_link( $post_id ) {
744 745
 		if ( has_post_thumbnail( $post_id ) ) {
Please login to merge, or discard this patch.