Completed
Push — jetpack/branch-9.4 ( 2baac0...2846e0 )
by Jeremy
19:14 queued 09:07
created
projects/packages/sync/src/modules/class-term-relationships.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@
 block discarded – undo
124 124
 	 *
125 125
 	 * @access public
126 126
 	 *
127
-	 * @return array Full sync actions of this module.
127
+	 * @return string[] Full sync actions of this module.
128 128
 	 */
129 129
 	public function get_full_sync_actions() {
130 130
 		return array( 'jetpack_full_sync_term_relationships' );
Please login to merge, or discard this patch.
projects/packages/sync/src/modules/class-themes.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -502,7 +502,7 @@  discard block
 block discarded – undo
502 502
 	 * @access public
503 503
 	 *
504 504
 	 * @param array $config Full sync configuration for this sync module.
505
-	 * @return array Number of items yet to be enqueued.
505
+	 * @return integer Number of items yet to be enqueued.
506 506
 	 */
507 507
 	public function estimate_full_sync_actions( $config ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
508 508
 		return 1;
@@ -522,7 +522,7 @@  discard block
 block discarded – undo
522 522
 	 *
523 523
 	 * @access public
524 524
 	 *
525
-	 * @return array Full sync actions of this module.
525
+	 * @return string[] Full sync actions of this module.
526 526
 	 */
527 527
 	public function get_full_sync_actions() {
528 528
 		return array( 'jetpack_full_sync_theme_data' );
Please login to merge, or discard this patch.
projects/packages/sync/src/modules/class-users.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -205,7 +205,7 @@  discard block
 block discarded – undo
205 205
 	 *
206 206
 	 * @access public
207 207
 	 *
208
-	 * @param \WP_User $user User object.
208
+	 * @param \WP_User|null $user User object.
209 209
 	 * @return \WP_User Expanded user object.
210 210
 	 */
211 211
 	public function expand_user( $user ) {
@@ -545,7 +545,7 @@  discard block
 block discarded – undo
545 545
 	 * @access public
546 546
 	 *
547 547
 	 * @param int $user_id ID of the user.
548
-	 * @return array Current flags of the user.
548
+	 * @return string Current flags of the user.
549 549
 	 */
550 550
 	public function get_flags( $user_id ) {
551 551
 		if ( isset( $this->flags[ $user_id ] ) ) {
@@ -636,7 +636,7 @@  discard block
 block discarded – undo
636 636
 	 * @todo Refactor to prepare the SQL query before executing it.
637 637
 	 *
638 638
 	 * @param array $config Full sync configuration for this sync module.
639
-	 * @return array Number of items yet to be enqueued.
639
+	 * @return integer Number of items yet to be enqueued.
640 640
 	 */
641 641
 	public function estimate_full_sync_actions( $config ) {
642 642
 		global $wpdb;
@@ -680,7 +680,7 @@  discard block
 block discarded – undo
680 680
 	 *
681 681
 	 * @access public
682 682
 	 *
683
-	 * @return array Full sync actions of this module.
683
+	 * @return string[] Full sync actions of this module.
684 684
 	 */
685 685
 	public function get_full_sync_actions() {
686 686
 		return array( 'jetpack_full_sync_users' );
Please login to merge, or discard this patch.
projects/packages/sync/src/replicastore/class-table-checksum.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -224,7 +224,7 @@  discard block
 block discarded – undo
224 224
 	 *
225 225
 	 * @param string $table Table name to validate.
226 226
 	 *
227
-	 * @return mixed|string
227
+	 * @return string
228 228
 	 * @throws Exception Throw an exception on validation failure.
229 229
 	 */
230 230
 	private function validate_table_name( $table ) {
@@ -482,7 +482,7 @@  discard block
 block discarded – undo
482 482
 	 * @param int|null $range_to   The end of the range.
483 483
 	 * @param int|null $limit      How many values to return.
484 484
 	 *
485
-	 * @return array|object|void
485
+	 * @return boolean
486 486
 	 * @throws Exception Throws an exception if validation fails on the internal function calls.
487 487
 	 */
488 488
 	public function get_range_edges( $range_from = null, $range_to = null, $limit = null ) {
Please login to merge, or discard this patch.
projects/packages/tracking/legacy/class-jetpack-tracks-client.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
 	/**
53 53
 	 * Record an event.
54 54
 	 *
55
-	 * @param  mixed $event Event object to send to Tracks. An array will be cast to object. Required.
55
+	 * @param  Jetpack_Tracks_Event $event Event object to send to Tracks. An array will be cast to object. Required.
56 56
 	 *                      Properties are included directly in the pixel query string after light validation.
57 57
 	 * @return mixed         True on success, WP_Error on failure
58 58
 	 */
Please login to merge, or discard this patch.
projects/packages/tracking/src/class-tracking.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -119,8 +119,8 @@
 block discarded – undo
119 119
 	/**
120 120
 	 * Determines whether tracking should be enabled.
121 121
 	 *
122
-	 * @param Automattic\Jetpack\Terms_Of_Service $terms_of_service A Terms_Of_Service object.
123
-	 * @param Automattic\Jetpack\Status           $status A Status object.
122
+	 * @param Terms_Of_Service $terms_of_service A Terms_Of_Service object.
123
+	 * @param Status           $status A Status object.
124 124
 	 *
125 125
 	 * @return boolean True if tracking should be enabled, else false.
126 126
 	 */
Please login to merge, or discard this patch.
projects/plugins/jetpack/class.jetpack-client-server.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
 	/**
106 106
 	 * Returns an instance of the Jetpack object.
107 107
 	 *
108
-	 * @return Automattic\Jetpack
108
+	 * @return Jetpack
109 109
 	 */
110 110
 	public function get_jetpack() {
111 111
 		return Jetpack::init();
Please login to merge, or discard this patch.
projects/plugins/jetpack/extensions/blocks/story/story.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -217,7 +217,7 @@
 block discarded – undo
217 217
  * Render a slide
218 218
  *
219 219
  * @param array $media  Media information.
220
- * @param array $index  Index of the slide, first slide will be displayed by default, others hidden.
220
+ * @param integer $index  Index of the slide, first slide will be displayed by default, others hidden.
221 221
  *
222 222
  * @return string
223 223
  */
Please login to merge, or discard this patch.
projects/plugins/jetpack/functions.photon.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -326,7 +326,7 @@
 block discarded – undo
326 326
  *
327 327
  * @param string  $url The URL to parse.
328 328
  * @param integer $component Retrieve specific URL component.
329
- * @return mixed Result of parse_url
329
+ * @return string|false Result of parse_url
330 330
  */
331 331
 function jetpack_photon_parse_url( $url, $component = -1 ) {
332 332
 	_deprecated_function( 'jetpack_photon_parse_url', 'jetpack-7.8.0', 'wp_parse_url' );
Please login to merge, or discard this patch.