Completed
Push — improve/rename-anti-spam-in-si... ( e5a567...f08131 )
by
unknown
75:27 queued 67:29
created
class.photon.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
 	/**
43 43
 	 * Singleton implementation
44 44
 	 *
45
-	 * @return object
45
+	 * @return Jetpack_Photon|null
46 46
 	 */
47 47
 	public static function instance() {
48 48
 		if ( ! is_a( self::$instance, 'Jetpack_Photon' ) ) {
@@ -1382,7 +1382,7 @@  discard block
 block discarded – undo
1382 1382
 	 * after ourselves without breaking anyone else's filters.
1383 1383
 	 *
1384 1384
 	 * @internal
1385
-	 * @return true
1385
+	 * @return boolean
1386 1386
 	 */
1387 1387
 	public function override_image_downsize_in_rest_edit_context() {
1388 1388
 		return true;
Please login to merge, or discard this patch.
packages/connection/src/class-manager.php 1 patch
Doc Comments   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -313,7 +313,7 @@  discard block
 block discarded – undo
313 313
 	/**
314 314
 	 * Verifies the signature of the current request.
315 315
 	 *
316
-	 * @return false|array
316
+	 * @return boolean
317 317
 	 */
318 318
 	public function verify_xml_rpc_signature() {
319 319
 		if ( is_null( $this->xmlrpc_verification ) ) {
@@ -1286,6 +1286,7 @@  discard block
 block discarded – undo
1286 1286
 	 * @param String  $action  The action name.
1287 1287
 	 * @param Integer $user_id The user identifier.
1288 1288
 	 * @param Integer $exp     Expiration time in seconds.
1289
+	 * @return string
1289 1290
 	 */
1290 1291
 	public function generate_secrets( $action, $user_id = false, $exp = 600 ) {
1291 1292
 		if ( false === $user_id ) {
@@ -2242,7 +2243,7 @@  discard block
 block discarded – undo
2242 2243
 	 *
2243 2244
 	 * @param int|false    $user_id   false: Return the Blog Token. int: Return that user's User Token.
2244 2245
 	 * @param string|false $token_key If provided, check that the token matches the provided input.
2245
-	 * @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.
2246
+	 * @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.
2246 2247
 	 *
2247 2248
 	 * @return object|false
2248 2249
 	 */
@@ -2626,7 +2627,7 @@  discard block
 block discarded – undo
2626 2627
 	 * Fetches a signed token.
2627 2628
 	 *
2628 2629
 	 * @param object $token the token.
2629
-	 * @return WP_Error|string a signed token
2630
+	 * @return string a signed token
2630 2631
 	 */
2631 2632
 	public function get_signed_token( $token ) {
2632 2633
 		if ( ! isset( $token->secret ) || empty( $token->secret ) ) {
Please login to merge, or discard this patch.