Completed
Push — fix/appearance-menu ( ef2b21...41f5cb )
by
unknown
46:54 queued 37:50
created
modules/wordads/php/class-wordads-sidebar-widget.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
 	 * @param array $args Widget args.
48 48
 	 * @param array $instance The Widget instance.
49 49
 	 *
50
-	 * @return bool|void
50
+	 * @return false|null
51 51
 	 */
52 52
 	public function widget( $args, $instance ) {
53 53
 		global $wordads;
Please login to merge, or discard this patch.
packages/connection/src/class-error-handler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -308,7 +308,7 @@
 block discarded – undo
308 308
 	 * @since 8.7.0
309 309
 	 *
310 310
 	 * @param array|string $data the data to be encoded.
311
-	 * @return boolean|string The encoded string on success, false on failure
311
+	 * @return false|string The encoded string on success, false on failure
312 312
 	 */
313 313
 	public function encrypt_data_to_wpcom( $data ) {
314 314
 
Please login to merge, or discard this patch.
packages/connection/legacy/class-jetpack-ixr-client.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -50,6 +50,7 @@
 block discarded – undo
50 50
 	 * Perform the IXR request.
51 51
 	 *
52 52
 	 * @param string[] ...$args IXR args.
53
+	 * @param string $args
53 54
 	 *
54 55
 	 * @return bool True if request succeeded, false otherwise.
55 56
 	 */
Please login to merge, or discard this patch.
packages/connection/legacy/class-jetpack-ixr-clientmulticall.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -25,6 +25,7 @@
 block discarded – undo
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 );
Please login to merge, or discard this patch.
json-endpoints/class.wpcom-json-api-list-posts-v1-1-endpoint.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -433,6 +433,9 @@
 block discarded – undo
433 433
 		);
434 434
 	}
435 435
 
436
+	/**
437
+	 * @param string $column
438
+	 */
436 439
 	function _build_date_range_query( $column, $range, $where ) {
437 440
 		global $wpdb;
438 441
 
Please login to merge, or discard this patch.
_inc/lib/core-api/load-wpcom-endpoints.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -15,6 +15,9 @@
 block discarded – undo
15 15
 	exit;
16 16
 }
17 17
 
18
+/**
19
+ * @param string $file_pattern
20
+ */
18 21
 function wpcom_rest_api_v2_load_plugin_files( $file_pattern ) {
19 22
 	$plugins = glob( dirname( __FILE__ ) . '/' . $file_pattern );
20 23
 
Please login to merge, or discard this patch.
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.
class.jetpack-gutenberg.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -583,7 +583,7 @@  discard block
 block discarded – undo
583 583
 	 * Only enqueue block assets when needed.
584 584
 	 *
585 585
 	 * @param string $type Slug of the block.
586
-	 * @param array  $script_dependencies Script dependencies. Will be merged with automatically
586
+	 * @param string[]  $script_dependencies Script dependencies. Will be merged with automatically
587 587
 	 *                                    detected script dependencies from the webpack build.
588 588
 	 *
589 589
 	 * @return void
@@ -837,7 +837,7 @@  discard block
 block discarded – undo
837 837
 	 *
838 838
 	 * @param string $slug  Block slug.
839 839
 	 * @param array  $attr  Block attributes.
840
-	 * @param array  $extra Potential extra classes you may want to provide.
840
+	 * @param string[]  $extra Potential extra classes you may want to provide.
841 841
 	 *
842 842
 	 * @return string $classes List of CSS classes for a block.
843 843
 	 */
@@ -934,10 +934,10 @@  discard block
 block discarded – undo
934 934
 	 * @since 8.3.0
935 935
 	 *
936 936
 	 * @param string $url      URL saved as an attribute in block.
937
-	 * @param array  $allowed  Array of allowed hosts for that block, or regexes to check against.
937
+	 * @param string[]  $allowed  Array of allowed hosts for that block, or regexes to check against.
938 938
 	 * @param bool   $is_regex Array of regexes matching the URL that could be used in block.
939 939
 	 *
940
-	 * @return bool|string
940
+	 * @return false|string
941 941
 	 */
942 942
 	public static function validate_block_embed_url( $url, $allowed = array(), $is_regex = false ) {
943 943
 		if (
Please login to merge, or discard this patch.