Completed
Push — renovate/copy-webpack-plugin-5... ( 1645c2...f892fa )
by
unknown
233:24 queued 224:35
created
json-endpoints/jetpack/class.jetpack-json-api-plugins-endpoint.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -170,6 +170,9 @@
 block discarded – undo
170 170
 	}
171 171
 
172 172
 
173
+	/**
174
+	 * @param string $plugin
175
+	 */
173 176
 	protected function validate_plugin( $plugin ) {
174 177
 		if ( ! isset( $plugin) || empty( $plugin ) ) {
175 178
 			return new WP_Error( 'missing_plugin', __( 'You are required to specify a plugin to activate.', 'jetpack' ), 400 );
Please login to merge, or discard this patch.
_inc/lib/debugger/class-jetpack-cxn-tests.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
 	 * Helper function to look up the expected master user and return the local WP_User.
54 54
 	 *
55
-	 * @return WP_User Jetpack's expected master user.
55
+	 * @return string Jetpack's expected master user.
56 56
 	 */
57 57
 	protected function helper_retrieve_local_master_user() {
58 58
 		$master_user = Jetpack_Options::get_option( 'master_user' );
Please login to merge, or discard this patch.
json-endpoints/jetpack/class.jetpack-json-api-sync-endpoint.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -228,6 +228,9 @@
 block discarded – undo
228 228
 		);
229 229
 	}
230 230
 
231
+	/**
232
+	 * @param Queue $queue
233
+	 */
231 234
 	protected function get_buffer( $queue, $number_of_items ) {
232 235
 		$start = time();
233 236
 		$max_duration = 5; // this will try to get the buffer
Please login to merge, or discard this patch.
packages/sync/src/Listener.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -177,6 +177,9 @@
 block discarded – undo
177 177
 		$queue->add_all( $data_to_enqueue );
178 178
 	}
179 179
 
180
+	/**
181
+	 * @param Queue $queue
182
+	 */
180 183
 	function enqueue_action( $current_filter, $args, $queue ) {
181 184
 		// don't enqueue an action during the outbound http request - this prevents recursion
182 185
 		if ( Settings::is_sending() ) {
Please login to merge, or discard this patch.
packages/sync/src/Queue.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -240,6 +240,9 @@  discard block
 block discarded – undo
240 240
 		return true;
241 241
 	}
242 242
 
243
+	/**
244
+	 * @param Queue_Buffer $buffer
245
+	 */
243 246
 	function close( $buffer, $ids_to_remove = null ) {
244 247
 		$is_valid = $this->validate_checkout( $buffer );
245 248
 
@@ -344,6 +347,9 @@  discard block
 block discarded – undo
344 347
 		return false;
345 348
 	}
346 349
 
350
+	/**
351
+	 * @param string $checkout_id
352
+	 */
347 353
 	private function set_checkout_id( $checkout_id ) {
348 354
 		global $wpdb;
349 355
 
Please login to merge, or discard this patch.
packages/sync/src/Sender.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -70,6 +70,9 @@  discard block
 block discarded – undo
70 70
 		return (float) get_option( self::NEXT_SYNC_TIME_OPTION_NAME . '_' . $queue_name, 0 );
71 71
 	}
72 72
 
73
+	/**
74
+	 * @param integer $time
75
+	 */
73 76
 	public function set_next_sync_time( $time, $queue_name ) {
74 77
 		return update_option( self::NEXT_SYNC_TIME_OPTION_NAME . '_' . $queue_name, $time, true );
75 78
 	}
@@ -100,6 +103,9 @@  discard block
 block discarded – undo
100 103
 		return $this->do_sync_and_set_delays( $this->sync_queue );
101 104
 	}
102 105
 
106
+	/**
107
+	 * @param Queue $queue
108
+	 */
103 109
 	public function do_sync_and_set_delays( $queue ) {
104 110
 		// don't sync if importing
105 111
 		if ( defined( 'WP_IMPORTING' ) && WP_IMPORTING ) {
@@ -357,6 +363,10 @@  discard block
 block discarded – undo
357 363
 	}
358 364
 
359 365
 	// in seconds
366
+
367
+	/**
368
+	 * @param double $seconds
369
+	 */
360 370
 	function set_max_dequeue_time( $seconds ) {
361 371
 		$this->max_dequeue_time = $seconds;
362 372
 	}
Please login to merge, or discard this patch.
packages/tracking/src/Tracking.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -183,7 +183,6 @@
 block discarded – undo
183 183
 	/**
184 184
 	 * Record an event in Tracks - this is the preferred way to record events from PHP.
185 185
 	 *
186
-	 * @param mixed  $identity username, user_id, or WP_user object
187 186
 	 * @param string $event_name The name of the event
188 187
 	 * @param array  $properties Custom properties to send with the event
189 188
 	 * @param int    $event_timestamp_millis The time in millis since 1970-01-01 00:00:00 when the event occurred
Please login to merge, or discard this patch.
packages/status/tests/php/test_Status.php 1 patch
Doc Comments   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -143,7 +143,6 @@  discard block
 block discarded – undo
143 143
 	/**
144 144
 	 * Mock a set of filters.
145 145
 	 *
146
-	 * @param array $args Array of filters with their arguments.
147 146
 	 * @return phpmock\Mock The mock object.
148 147
 	 */
149 148
 	protected function mock_filters( $filters = array() ) {
@@ -153,8 +152,7 @@  discard block
 block discarded – undo
153 152
 	/**
154 153
 	 * Mock a set of constants.
155 154
 	 *
156
-	 * @param array $args Array of sets with constants and their respective values.
157
-	 * @return phpmock\Mock The mock object.
155
+	 * @return phpmock\Mock[] The mock object.
158 156
 	 */
159 157
 	protected function mock_constants( $constants = array() ) {
160 158
 		$prepare_constant = function( $constant ) {
@@ -171,7 +169,7 @@  discard block
 block discarded – undo
171 169
 	 * Mock a global function and make it return a certain value.
172 170
 	 *
173 171
 	 * @param string $function_name Name of the function.
174
-	 * @param mixed  $return_value  Return value of the function.
172
+	 * @param string  $return_value  Return value of the function.
175 173
 	 * @return phpmock\Mock The mock object.
176 174
 	 */
177 175
 	protected function mock_function( $function_name, $return_value = null ) {
Please login to merge, or discard this patch.
packages/connection/src/Manager.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
 	 * Is the user the connection owner.
107 107
 	 *
108 108
 	 * @param Integer $user_id the user identifier.
109
-	 * @return Boolean is the user the connection owner?
109
+	 * @return integer is the user the connection owner?
110 110
 	 */
111 111
 	public function is_connection_owner( $user_id ) {
112 112
 		return $user_id;
@@ -570,7 +570,7 @@  discard block
 block discarded – undo
570 570
 	 *
571 571
 	 * @param int|false    $user_id   false: Return the Blog Token. int: Return that user's User Token.
572 572
 	 * @param string|false $token_key If provided, check that the token matches the provided input.
573
-	 * @param bool|true    $suppress_errors If true, return a falsy value when the token isn't found; When false, return a descriptive WP_Error when the token isn't found.
573
+	 * @param boolean    $suppress_errors If true, return a falsy value when the token isn't found; When false, return a descriptive WP_Error when the token isn't found.
574 574
 	 *
575 575
 	 * @return object|false
576 576
 	 */
Please login to merge, or discard this patch.