Completed
Push — try/full-sync-send-immediately ( 639e64...cec3e2 )
by
unknown
81:27 queued 74:53
created
packages/analyzer/src/Dependencies/Dependency.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -9,6 +9,9 @@
 block discarded – undo
9 9
 	public $declaration;
10 10
 	public $invocation_root;
11 11
 
12
+	/**
13
+	 * @param string $invocation_root
14
+	 */
12 15
 	function __construct( $invocation, $declaration, $invocation_root = null ) {
13 16
 		$this->invocation      = $invocation;
14 17
 		$this->declaration     = $declaration;
Please login to merge, or discard this patch.
packages/options/legacy/class.jetpack-options.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
 	 *
28 28
 	 * @param string $type The type of option to return. Defaults to 'compact'.
29 29
 	 *
30
-	 * @return array
30
+	 * @return string[]
31 31
 	 */
32 32
 	public static function get_option_names( $type = 'compact' ) {
33 33
 		switch ( $type ) {
@@ -505,7 +505,7 @@  discard block
 block discarded – undo
505 505
 	 * @since 5.4.0
506 506
 	 *
507 507
 	 * @param boolean $strip_unsafe_options If true, and by default, will strip out options necessary for the connection to WordPress.com.
508
-	 * @return array An array of all options managed via the Jetpack_Options class.
508
+	 * @return string[] An array of all options managed via the Jetpack_Options class.
509 509
 	 */
510 510
 	public static function get_all_jetpack_options( $strip_unsafe_options = true ) {
511 511
 		$jetpack_options            = self::get_option_names();
@@ -548,7 +548,7 @@  discard block
 block discarded – undo
548 548
 	 *
549 549
 	 * @since 5.4.0
550 550
 	 *
551
-	 * @return array
551
+	 * @return string[]
552 552
 	 */
553 553
 	public static function get_all_wp_options() {
554 554
 		// A manual build of the wp options.
Please login to merge, or discard this patch.
packages/sync/src/Json_Deflate_Array_Codec.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
 	/**
77 77
 	 * Wraps JSON
78 78
 	 *
79
-	 * @param object|array $any Wrapping value.
79
+	 * @param string $any Wrapping value.
80 80
 	 * @param array        $seen_nodes Seen nodes.
81 81
 	 * @return array
82 82
 	 */
Please login to merge, or discard this patch.
packages/sync/src/Queue.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -374,7 +374,7 @@
 block discarded – undo
374 374
 	/**
375 375
 	 * Close the buffer.
376 376
 	 *
377
-	 * @param Automattic\Jetpack\Sync\Queue_Buffer $buffer Queue_Buffer object.
377
+	 * @param Queue_Buffer $buffer Queue_Buffer object.
378 378
 	 * @param null|array                           $ids_to_remove Ids to remove from the queue.
379 379
 	 *
380 380
 	 * @return bool|\WP_Error
Please login to merge, or discard this patch.
packages/sync/src/Listener.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@
 block discarded – undo
158 158
 	 * Prevent adding items to the queue if it hasn't sent an item for 15 mins
159 159
 	 * AND the queue is over 1000 items long (by default).
160 160
 	 *
161
-	 * @param object $queue Sync queue.
161
+	 * @param string $queue Sync queue.
162 162
 	 * @return bool
163 163
 	 */
164 164
 	public function can_add_to_queue( $queue ) {
Please login to merge, or discard this patch.
modules/shortcodes/vimeo.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
  * @param array $attr     The attributes of the shortcode.
45 45
  * @param array $old_attr Optional array of attributes from the old shortcode format.
46 46
  *
47
- * @return array Width and height.
47
+ * @return integer[] Width and height.
48 48
  */
49 49
 function jetpack_shortcode_get_vimeo_dimensions( $attr, $old_attr = array() ) {
50 50
 	global $content_width;
Please login to merge, or discard this patch.
packages/sync/src/modules/Comments.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -244,7 +244,7 @@  discard block
 block discarded – undo
244 244
 	 * @param int     $send_until Maximum duration of processing.
245 245
 	 * @param boolean $state True if full sync has finished enqueueing this module, false otherwise.
246 246
 	 *
247
-	 * @return array Number of actions enqueued, and next module state.
247
+	 * @return boolean Number of actions enqueued, and next module state.
248 248
 	 */
249 249
 	public function send_full_sync_actions( $config, $send_until, $state ) {
250 250
 		global $wpdb;
@@ -297,7 +297,7 @@  discard block
 block discarded – undo
297 297
 	 *
298 298
 	 * @access public
299 299
 	 *
300
-	 * @return array Full sync actions of this module.
300
+	 * @return string[] Full sync actions of this module.
301 301
 	 */
302 302
 	public function get_full_sync_actions() {
303 303
 		return array( 'jetpack_full_sync_comments' );
Please login to merge, or discard this patch.
packages/sync/src/modules/Posts.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
 	 * @param int     $send_until Maximum duration of processing.
215 215
 	 * @param boolean $state True if full sync has finished enqueueing this module, false otherwise.
216 216
 	 *
217
-	 * @return array Number of actions enqueued, and next module state.
217
+	 * @return boolean Number of actions enqueued, and next module state.
218 218
 	 */
219 219
 	public function send_full_sync_actions( $config, $send_until, $state ) {
220 220
 		global $wpdb;
@@ -230,7 +230,7 @@  discard block
 block discarded – undo
230 230
 	 * @todo Use $wpdb->prepare for the SQL query.
231 231
 	 *
232 232
 	 * @param array $config Full sync configuration for this sync module.
233
-	 * @return array Number of items yet to be enqueued.
233
+	 * @return integer Number of items yet to be enqueued.
234 234
 	 */
235 235
 	public function estimate_full_sync_actions( $config ) {
236 236
 		global $wpdb;
@@ -266,7 +266,7 @@  discard block
 block discarded – undo
266 266
 	 *
267 267
 	 * @access public
268 268
 	 *
269
-	 * @return array Full sync actions of this module.
269
+	 * @return string[] Full sync actions of this module.
270 270
 	 */
271 271
 	public function get_full_sync_actions() {
272 272
 		return array( 'jetpack_full_sync_posts' );
Please login to merge, or discard this patch.
packages/sync/src/modules/Term_Relationships.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
 	 * @param int     $send_until Maximum duration of processing.
148 148
 	 * @param boolean $status Full sync status for this module.
149 149
 	 *
150
-	 * @return array Full sync status for this module.
150
+	 * @return boolean Full sync status for this module.
151 151
 	 */
152 152
 	public function send_full_sync_actions( $config, $send_until, $status ) {
153 153
 		global $wpdb;
@@ -226,7 +226,7 @@  discard block
 block discarded – undo
226 226
 	 *
227 227
 	 * @access public
228 228
 	 *
229
-	 * @return array Full sync actions of this module.
229
+	 * @return string[] Full sync actions of this module.
230 230
 	 */
231 231
 	public function get_full_sync_actions() {
232 232
 		return array( 'jetpack_full_sync_term_relationships' );
Please login to merge, or discard this patch.