Completed
Push — add/premium-blocks-upgrade-flo... ( 311168...1b5d8a )
by Bernhard
23:00 queued 14:12
created
packages/sync/src/modules/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.
packages/sync/src/modules/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.
packages/sync/src/modules/Constants.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
 	 * @access public
138 138
 	 *
139 139
 	 * @param array $config Full sync configuration for this sync module.
140
-	 * @return array Number of items yet to be enqueued.
140
+	 * @return integer Number of items yet to be enqueued.
141 141
 	 */
142 142
 	public function estimate_full_sync_actions( $config ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
143 143
 		return 1;
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
 	 *
149 149
 	 * @access public
150 150
 	 *
151
-	 * @return array Full sync actions of this module.
151
+	 * @return string[] Full sync actions of this module.
152 152
 	 */
153 153
 	public function get_full_sync_actions() {
154 154
 		return array( 'jetpack_full_sync_constants' );
Please login to merge, or discard this patch.
packages/sync/src/modules/Full_Sync.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -539,7 +539,7 @@
 block discarded – undo
539 539
 	 * @access private
540 540
 	 *
541 541
 	 * @param string $name    Name of the option.
542
-	 * @param mixed  $default Default value of the option.
542
+	 * @param integer  $default Default value of the option.
543 543
 	 * @return mixed Option value.
544 544
 	 */
545 545
 	private function get_status_option( $name, $default = null ) {
Please login to merge, or discard this patch.
packages/sync/src/modules/Network_Options.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
 	 * @access public
132 132
 	 *
133 133
 	 * @param array $config Full sync configuration for this sync module.
134
-	 * @return array Number of items yet to be enqueued.
134
+	 * @return null|integer Number of items yet to be enqueued.
135 135
 	 */
136 136
 	public function estimate_full_sync_actions( $config ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
137 137
 		if ( ! is_multisite() ) {
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
 	 *
147 147
 	 * @access public
148 148
 	 *
149
-	 * @return array Full sync actions of this module.
149
+	 * @return string[] Full sync actions of this module.
150 150
 	 */
151 151
 	public function get_full_sync_actions() {
152 152
 		return array( 'jetpack_full_sync_network_options' );
Please login to merge, or discard this patch.
packages/sync/src/modules/Posts.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -201,7 +201,7 @@  discard block
 block discarded – undo
201 201
 	 * @todo Use $wpdb->prepare for the SQL query.
202 202
 	 *
203 203
 	 * @param array $config Full sync configuration for this sync module.
204
-	 * @return array Number of items yet to be enqueued.
204
+	 * @return integer Number of items yet to be enqueued.
205 205
 	 */
206 206
 	public function estimate_full_sync_actions( $config ) {
207 207
 		global $wpdb;
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
 	 *
238 238
 	 * @access public
239 239
 	 *
240
-	 * @return array Full sync actions of this module.
240
+	 * @return string[] Full sync actions of this module.
241 241
 	 */
242 242
 	public function get_full_sync_actions() {
243 243
 		return array( 'jetpack_full_sync_posts' );
Please login to merge, or discard this patch.
packages/sync/src/modules/Terms.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -162,7 +162,7 @@
 block discarded – undo
162 162
 	 *
163 163
 	 * @access public
164 164
 	 *
165
-	 * @return array Full sync actions of this module.
165
+	 * @return string[] Full sync actions of this module.
166 166
 	 */
167 167
 	public function get_full_sync_actions() {
168 168
 		return array( 'jetpack_full_sync_terms' );
Please login to merge, or discard this patch.