Completed
Push — remove/publicize/wpadmin-setti... ( 08a08f...a85465 )
by
unknown
08:57
created
modules/carousel/jetpack-carousel.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -135,6 +135,9 @@  discard block
 block discarded – undo
135 135
 		exit;
136 136
 	}
137 137
 
138
+	/**
139
+	 * @param string $version
140
+	 */
138 141
 	function asset_version( $version ) {
139 142
 		/**
140 143
 		 * Filter the version string used when enqueuing Carousel assets.
@@ -508,6 +511,9 @@  discard block
 block discarded – undo
508 511
 		return $attr;
509 512
 	}
510 513
 
514
+	/**
515
+	 * @param string $html
516
+	 */
511 517
 	function add_data_to_container( $html ) {
512 518
 		global $post;
513 519
 		if ( Jetpack_AMP_Support::is_amp_request() ) {
@@ -751,6 +757,9 @@  discard block
 block discarded – undo
751 757
 		return ( 1 == $value ) ? 1 : 0;
752 758
 	}
753 759
 
760
+	/**
761
+	 * @param string $name
762
+	 */
754 763
 	function settings_checkbox( $name, $label_text, $extra_text = '', $default_to_checked = true ) {
755 764
 		if ( empty( $name ) ) {
756 765
 			return;
@@ -766,6 +775,9 @@  discard block
 block discarded – undo
766 775
 		echo '</fieldset>';
767 776
 	}
768 777
 
778
+	/**
779
+	 * @param string $name
780
+	 */
769 781
 	function settings_select( $name, $values, $extra_text = '' ) {
770 782
 		if ( empty( $name ) || ! is_array( $values ) || empty( $values ) ) {
771 783
 			return;
Please login to merge, or discard this patch.
sync/class.jetpack-sync-settings.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -135,6 +135,9 @@  discard block
 block discarded – undo
135 135
 		self::set_is_sending( null );
136 136
 	}
137 137
 
138
+	/**
139
+	 * @param boolean|null $is_importing
140
+	 */
138 141
 	static function set_importing( $is_importing ) {
139 142
 		// set to NULL to revert to WP_IMPORTING, the standard behavior
140 143
 		self::$is_importing = $is_importing;
@@ -165,6 +168,9 @@  discard block
 block discarded – undo
165 168
 		return (bool) self::$is_syncing || ( defined( 'REST_API_REQUEST' ) && REST_API_REQUEST );
166 169
 	}
167 170
 
171
+	/**
172
+	 * @param boolean|null $is_syncing
173
+	 */
168 174
 	static function set_is_syncing( $is_syncing ) {
169 175
 		self::$is_syncing = $is_syncing;
170 176
 	}
@@ -173,6 +179,9 @@  discard block
 block discarded – undo
173 179
 		return (bool) self::$is_sending;
174 180
 	}
175 181
 
182
+	/**
183
+	 * @param boolean|null $is_sending
184
+	 */
176 185
 	static function set_is_sending( $is_sending ) {
177 186
 		self::$is_sending = $is_sending;
178 187
 	}
Please login to merge, or discard this patch.
modules/publicize/ui.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -441,7 +441,7 @@  discard block
 block discarded – undo
441 441
 	 *
442 442
 	 * @param array $connections_data
443 443
 	 *
444
-	 * @return array {
444
+	 * @return string {
445 445
 	 *     Array of content for generating connection form.
446 446
 	 *
447 447
 	 *     @type string HTML content of form
@@ -544,6 +544,9 @@  discard block
 block discarded – undo
544 544
 		return ob_get_clean();
545 545
 	}
546 546
 
547
+	/**
548
+	 * @return string
549
+	 */
547 550
 	private function google_plus_shut_down_notice() {
548 551
 		return wp_kses(
549 552
 			sprintf(
Please login to merge, or discard this patch.