Completed
Push — add/identity-crisis-package ( 18e8d1...15af76 )
by
unknown
176:45 queued 166:13
created
projects/packages/connection/src/class-manager.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -290,7 +290,7 @@  discard block
 block discarded – undo
290 290
 	/**
291 291
 	 * Verifies the signature of the current request.
292 292
 	 *
293
-	 * @return false|array
293
+	 * @return boolean
294 294
 	 */
295 295
 	public function verify_xml_rpc_signature() {
296 296
 		if ( is_null( $this->xmlrpc_verification ) ) {
@@ -1464,7 +1464,7 @@  discard block
 block discarded – undo
1464 1464
 	/**
1465 1465
 	 * Obtains the auth token.
1466 1466
 	 *
1467
-	 * @param array $data The request data.
1467
+	 * @param string $data The request data.
1468 1468
 	 * @return object|\WP_Error Returns the auth token on success.
1469 1469
 	 *                          Returns a \WP_Error on failure.
1470 1470
 	 */
Please login to merge, or discard this patch.
projects/packages/connection/src/class-tokens.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
 	 * @param int    $user_id The user id.
220 220
 	 * @param string $token The user token.
221 221
 	 * @param bool   $is_master_user Whether the user is the master user.
222
-	 * @return bool
222
+	 * @return boolean|null
223 223
 	 */
224 224
 	public function update_user_token( $user_id, $token, $is_master_user ) {
225 225
 		// Not designed for concurrent updates.
@@ -495,7 +495,7 @@  discard block
 block discarded – undo
495 495
 	 * Fetches a signed token.
496 496
 	 *
497 497
 	 * @param object $token the token.
498
-	 * @return WP_Error|string a signed token
498
+	 * @return string a signed token
499 499
 	 */
500 500
 	public function get_signed_token( $token ) {
501 501
 		if ( ! isset( $token->secret ) || empty( $token->secret ) ) {
Please login to merge, or discard this patch.
json-endpoints/jetpack/class.jetpack-json-api-plugins-modify-endpoint.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -250,6 +250,9 @@
 block discarded – undo
250 250
 		}
251 251
 	}
252 252
 
253
+	/**
254
+	 * @param string $capability
255
+	 */
253 256
 	protected function current_user_can( $capability, $plugin = null ) {
254 257
 		// If this endpoint accepts site based authentication and a blog token is used, skip capabilities check.
255 258
 		if ( $this->accepts_site_based_authentication() ) {
Please login to merge, or discard this patch.