@@ -25,6 +25,7 @@ |
||
25 | 25 | * The rest of the arguments are the params specified to the method. |
26 | 26 | * |
27 | 27 | * @param string[] ...$args IXR args. |
28 | + * @param string $args |
|
28 | 29 | */ |
29 | 30 | public function addCall( ...$args ) { |
30 | 31 | $method_name = array_shift( $args ); |
@@ -174,6 +174,7 @@ |
||
174 | 174 | * @since 1.3 |
175 | 175 | * @var string $guid VideoPress unique identifier |
176 | 176 | * @var int $maxwidth maximum requested video width. final width and height are calculated on VideoPress servers based on the aspect ratio of the original video upload. |
177 | + * @param string $guid |
|
177 | 178 | */ |
178 | 179 | public function __construct( $guid, $maxwidth = 640 ) { |
179 | 180 | $this->guid = $guid; |
@@ -55,7 +55,7 @@ |
||
55 | 55 | * |
56 | 56 | * @since 5.6.0 |
57 | 57 | * |
58 | - * @return object The class instance. |
|
58 | + * @return Jetpack_Lazy_Images The class instance. |
|
59 | 59 | */ |
60 | 60 | public static function instance() { |
61 | 61 | if ( is_null( self::$instance ) ) { |
@@ -313,7 +313,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 ) ) { |
@@ -119,8 +119,8 @@ |
||
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 | */ |