Completed
Push — try/sync-package ( 228b13...691df5 )
by Marin
06:41
created
modules/related-posts/jetpack-related-posts.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -294,6 +294,9 @@  discard block
 block discarded – undo
294 294
 		return $this->_options;
295 295
 	}
296 296
 	
297
+	/**
298
+	 * @param string $option_name
299
+	 */
297 300
 	public function get_option( $option_name ) {
298 301
 		$options = $this->get_options();
299 302
 		
@@ -1428,6 +1431,8 @@  discard block
 block discarded – undo
1428 1431
 	 * Enqueues assets needed to do async loading of related posts.
1429 1432
 	 *
1430 1433
 	 * @uses wp_enqueue_script, wp_enqueue_style, plugins_url
1434
+	 * @param boolean $script
1435
+	 * @param boolean $style
1431 1436
 	 * @return null
1432 1437
 	 */
1433 1438
 	protected function _enqueue_assets( $script, $style ) {
Please login to merge, or discard this patch.
packages/sync/src/Module_Full_Sync.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -194,6 +194,9 @@  discard block
 block discarded – undo
194 194
 		do_action( 'jetpack_full_sync_end', '', $range );
195 195
 	}
196 196
 
197
+	/**
198
+	 * @param string $type
199
+	 */
197 200
 	function get_range( $type ) {
198 201
 		global $wpdb;
199 202
 		if ( ! in_array( $type, array( 'comments', 'posts' ) ) ) {
@@ -404,6 +407,9 @@  discard block
 block discarded – undo
404 407
 		$listener->get_full_sync_queue()->reset();
405 408
 	}
406 409
 
410
+	/**
411
+	 * @param integer $default
412
+	 */
407 413
 	private function get_status_option( $name, $default = null ) {
408 414
 		$value = \Jetpack_Options::get_raw_option( self::STATUS_OPTION_PREFIX . "_$name", $default );
409 415
 
Please login to merge, or discard this patch.