Completed
Push — slim-shady ( 2958a6...34bf35 )
by
unknown
26:20 queued 21:54
created
packages/sync/src/Queue.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -346,6 +346,9 @@
 block discarded – undo
346 346
 		return false;
347 347
 	}
348 348
 
349
+	/**
350
+	 * @param string $checkout_id
351
+	 */
349 352
 	private function set_checkout_id( $checkout_id ) {
350 353
 		global $wpdb;
351 354
 
Please login to merge, or discard this patch.
packages/sync/src/Replicastore.php 1 patch
Doc Comments   +14 added lines patch added patch discarded remove patch
@@ -449,6 +449,10 @@  discard block
 block discarded – undo
449 449
 	}
450 450
 
451 451
 	// functions
452
+
453
+	/**
454
+	 * @param string $name
455
+	 */
452 456
 	public function get_callable( $name ) {
453 457
 		$value = get_option( 'jetpack_' . $name );
454 458
 
@@ -664,6 +668,10 @@  discard block
 block discarded – undo
664 668
 		}
665 669
 	}
666 670
 
671
+	/**
672
+	 * @param string $object_type
673
+	 * @param integer $buckets
674
+	 */
667 675
 	function checksum_histogram( $object_type, $buckets, $start_id = null, $end_id = null, $columns = null, $strip_non_ascii = true, $salt = '' ) {
668 676
 		global $wpdb;
669 677
 
@@ -754,6 +762,9 @@  discard block
 block discarded – undo
754 762
 		return $histogram;
755 763
 	}
756 764
 
765
+	/**
766
+	 * @param string|null $id_column
767
+	 */
757 768
 	private function table_checksum( $table, $columns, $id_column, $where_sql = '1=1', $min_id = null, $max_id = null, $strip_non_ascii = true, $salt = '' ) {
758 769
 		global $wpdb;
759 770
 
@@ -805,6 +816,9 @@  discard block
 block discarded – undo
805 816
 		return 'sum';
806 817
 	}
807 818
 
819
+	/**
820
+	 * @param string $where_sql
821
+	 */
808 822
 	private function meta_count( $table, $where_sql, $min_id, $max_id ) {
809 823
 		global $wpdb;
810 824
 
Please login to merge, or discard this patch.
class.jetpack-post-images.php 1 patch
Doc Comments   +5 added lines, -3 removed lines patch added patch discarded remove patch
@@ -13,6 +13,7 @@  discard block
 block discarded – undo
13 13
 class Jetpack_PostImages {
14 14
 	/**
15 15
 	 * If a slideshow is embedded within a post, then parse out the images involved and return them
16
+	 * @param integer $post_id
16 17
 	 */
17 18
 	static function from_slideshow( $post_id, $width = 200, $height = 200 ) {
18 19
 		$images = array();
@@ -89,6 +90,7 @@  discard block
 block discarded – undo
89 90
 
90 91
 	/**
91 92
 	 * If a gallery is detected, then get all the images from it.
93
+	 * @param integer $post_id
92 94
 	 */
93 95
 	static function from_gallery( $post_id ) {
94 96
 		$images = array();
@@ -162,6 +164,7 @@  discard block
 block discarded – undo
162 164
 	/**
163 165
 	 * Get attachment images for a specified post and return them. Also make sure
164 166
 	 * their dimensions are at or above a required minimum.
167
+	 * @param integer $post_id
165 168
 	 */
166 169
 	static function from_attachment( $post_id, $width = 200, $height = 200 ) {
167 170
 		$images = array();
@@ -224,7 +227,7 @@  discard block
 block discarded – undo
224 227
 	 * Check if a Featured Image is set for this post, and return it in a similar
225 228
 	 * format to the other images?_from_*() methods.
226 229
 	 * @param  int $post_id The post ID to check
227
-	 * @return Array containing details of the Featured Image, or empty array if none.
230
+	 * @return integer|null containing details of the Featured Image, or empty array if none.
228 231
 	 */
229 232
 	static function from_thumbnail( $post_id, $width = 200, $height = 200 ) {
230 233
 		$images = array();
@@ -663,7 +666,6 @@  discard block
 block discarded – undo
663 666
 	 * resized and cropped image.
664 667
 	 *
665 668
 	 * @param  string $src
666
-	 * @param  int    $dimension
667 669
 	 * @return string            Transformed image URL
668 670
 	 */
669 671
 	static function fit_image_url( $src, $width, $height ) {
@@ -710,7 +712,7 @@  discard block
 block discarded – undo
710 712
 	 *
711 713
 	 * @param mixed $html_or_id The HTML string to parse for images, or a post id.
712 714
 	 *
713
-	 * @return array $html_info {
715
+	 * @return integer $html_info {
714 716
 	 * @type string $html     Post content.
715 717
 	 * @type string $post_url Post URL.
716 718
 	 * }
Please login to merge, or discard this patch.