Completed
Push — test/18558 ( 5b2504...aae439 )
by Jeremy
35:16 queued 24:30
created
projects/packages/sync/src/class-listener.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
 	 * Prevent adding items to the queue if it hasn't sent an item for 15 mins
158 158
 	 * AND the queue is over 1000 items long (by default).
159 159
 	 *
160
-	 * @param object $queue Sync queue.
160
+	 * @param string $queue Sync queue.
161 161
 	 * @return bool
162 162
 	 */
163 163
 	public function can_add_to_queue( $queue ) {
@@ -360,7 +360,7 @@  discard block
 block discarded – undo
360 360
 	 * Sync Data Loss Handler
361 361
 	 *
362 362
 	 * @param Queue $queue Sync queue.
363
-	 * @return boolean was send successful
363
+	 * @return null|Items was send successful
364 364
 	 */
365 365
 	public function sync_data_loss( $queue ) {
366 366
 		if ( ! Settings::is_sync_enabled() ) {
Please login to merge, or discard this patch.
projects/packages/sync/src/class-replicastore.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -325,7 +325,7 @@
 block discarded – undo
325 325
 	 * @access protected
326 326
 	 *
327 327
 	 * @param string $status Comment status.
328
-	 * @return string|bool New comment_approved value, false if the status doesn't affect it.
328
+	 * @return string|false New comment_approved value, false if the status doesn't affect it.
329 329
 	 */
330 330
 	protected function comment_status_to_approval_value( $status ) {
331 331
 		switch ( (string) $status ) {
Please login to merge, or discard this patch.
projects/packages/sync/src/class-server.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
 	 *
65 65
 	 * @access public
66 66
 	 *
67
-	 * @param Automattic\Jetpack\Sync\Codec_Interface $codec Codec instance.
67
+	 * @param Codec_Interface $codec Codec instance.
68 68
 	 */
69 69
 	public function set_codec( Codec_Interface $codec ) {
70 70
 		$this->codec = $codec;
Please login to merge, or discard this patch.
projects/packages/sync/src/modules/class-callables.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -222,7 +222,7 @@  discard block
 block discarded – undo
222 222
 	 * @access public
223 223
 	 *
224 224
 	 * @param array $config Full sync configuration for this sync module.
225
-	 * @return array Number of items yet to be enqueued.
225
+	 * @return integer Number of items yet to be enqueued.
226 226
 	 */
227 227
 	public function estimate_full_sync_actions( $config ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
228 228
 		return 1;
@@ -233,7 +233,7 @@  discard block
 block discarded – undo
233 233
 	 *
234 234
 	 * @access public
235 235
 	 *
236
-	 * @return array Full sync actions of this module.
236
+	 * @return string[] Full sync actions of this module.
237 237
 	 */
238 238
 	public function get_full_sync_actions() {
239 239
 		return array( 'jetpack_full_sync_callables' );
Please login to merge, or discard this patch.
projects/packages/sync/src/modules/class-comments.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -220,7 +220,7 @@
 block discarded – undo
220 220
 	 *
221 221
 	 * @access public
222 222
 	 *
223
-	 * @return array Full sync actions of this module.
223
+	 * @return string[] Full sync actions of this module.
224 224
 	 */
225 225
 	public function get_full_sync_actions() {
226 226
 		return array( 'jetpack_full_sync_comments' );
Please login to merge, or discard this patch.
projects/packages/sync/src/modules/class-constants.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
 	 *
159 159
 	 * @param array $config Full sync configuration for this sync module.
160 160
 	 *
161
-	 * @return array Number of items yet to be enqueued.
161
+	 * @return integer Number of items yet to be enqueued.
162 162
 	 */
163 163
 	public function estimate_full_sync_actions( $config ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
164 164
 		return 1;
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
 	 *
170 170
 	 * @access public
171 171
 	 *
172
-	 * @return array Full sync actions of this module.
172
+	 * @return string[] Full sync actions of this module.
173 173
 	 */
174 174
 	public function get_full_sync_actions() {
175 175
 		return array( 'jetpack_full_sync_constants' );
Please login to merge, or discard this patch.
projects/packages/sync/src/modules/class-full-sync-immediately.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -149,7 +149,7 @@
 block discarded – undo
149 149
 	 *
150 150
 	 * @access public
151 151
 	 *
152
-	 * @return int|null
152
+	 * @return null|double
153 153
 	 */
154 154
 	public function get_sync_progress_percentage() {
155 155
 		if ( ! $this->is_started() || $this->is_finished() ) {
Please login to merge, or discard this patch.
projects/packages/sync/src/modules/class-full-sync.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -411,7 +411,7 @@  discard block
 block discarded – undo
411 411
 	 *
412 412
 	 * @access public
413 413
 	 *
414
-	 * @return int|null
414
+	 * @return null|double
415 415
 	 */
416 416
 	public function get_sync_progress_percentage() {
417 417
 		if ( ! $this->is_started() || $this->is_finished() ) {
@@ -625,7 +625,7 @@  discard block
 block discarded – undo
625 625
 	 * @access private
626 626
 	 *
627 627
 	 * @param string $name    Name of the option.
628
-	 * @param mixed  $default Default value of the option.
628
+	 * @param integer  $default Default value of the option.
629 629
 	 * @return mixed Option value.
630 630
 	 */
631 631
 	private function get_status_option( $name, $default = null ) {
Please login to merge, or discard this patch.
projects/packages/sync/src/modules/class-meta.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,8 +64,8 @@
 block discarded – undo
64 64
 	 * Get a single Meta Result.
65 65
 	 *
66 66
 	 * @param string $object_type  post, comment, term, user.
67
-	 * @param null   $id           Object ID.
68
-	 * @param null   $meta_key     Meta Key.
67
+	 * @param integer   $id           Object ID.
68
+	 * @param string   $meta_key     Meta Key.
69 69
 	 *
70 70
 	 * @return mixed|null
71 71
 	 */
Please login to merge, or discard this patch.