Completed
Push — update/gutenberg-blocks-availa... ( 837b95...ab32bb )
by
unknown
15:29
created
_inc/lib/class.jetpack-keyring-service-helper.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -100,6 +100,10 @@  discard block
 block discarded – undo
100 100
 		), menu_page_url( 'sharing', false ) );
101 101
 	}
102 102
 
103
+	/**
104
+	 * @param string $service_name
105
+	 * @param string $for
106
+	 */
103 107
 	static function refresh_url( $service_name, $for ) {
104 108
 		return add_query_arg( array(
105 109
 			'action'   => 'request',
@@ -111,6 +115,10 @@  discard block
 block discarded – undo
111 115
 		), admin_url( 'options-general.php?page=sharing' ) );
112 116
 	}
113 117
 
118
+	/**
119
+	 * @param string $service_name
120
+	 * @param string $id
121
+	 */
114 122
 	static function disconnect_url( $service_name, $id ) {
115 123
 		return add_query_arg( array(
116 124
 			'action'   => 'delete',
Please login to merge, or discard this patch.
modules/publicize/ui.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -324,6 +324,9 @@  discard block
 block discarded – undo
324 324
 		</div><?php
325 325
 	}
326 326
 
327
+	/**
328
+	 * @param string $service_name
329
+	 */
327 330
 	public static function options_page_other( $service_name ) {
328 331
 		// Nonce check
329 332
 		check_admin_referer( "options_page_{$service_name}_" . $_REQUEST['connection'] );
@@ -704,7 +707,7 @@  discard block
 block discarded – undo
704 707
 	 *
705 708
 	 * @param array $connections_data
706 709
 	 *
707
-	 * @return array {
710
+	 * @return string {
708 711
 	 *     Array of content for generating connection form.
709 712
 	 *
710 713
 	 *     @type string HTML content of form
Please login to merge, or discard this patch.
class.jetpack-gutenberg.php 1 patch
Doc Comments   +8 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
  *
11 11
  * @param string $type Slug of the block. Will be prefixed with jetpack/.
12 12
  * @param array  $args Arguments that are passed into the register_block_type.
13
- * @param array  $avalibility Arguments that tells us what kind of avalibility the block has
13
+ * @param array  $availability Arguments that tells us what kind of avalibility the block has
14 14
  *
15 15
  * @see register_block_type
16 16
  *
@@ -77,10 +77,16 @@  discard block
 block discarded – undo
77 77
 		}
78 78
 	}
79 79
 
80
+	/**
81
+	 * @param string $preset
82
+	 */
80 83
 	public static function preset_exists( $preset ) {
81 84
 		return file_exists( JETPACK__PLUGIN_DIR . '/_inc/blocks/' . $preset . '.json' );
82 85
 	}
83 86
 
87
+	/**
88
+	 * @param string $preset
89
+	 */
84 90
 	public static function get_preset( $preset ) {
85 91
 		return json_decode( file_get_contents(  JETPACK__PLUGIN_DIR . '/_inc/blocks/' . $preset . '.json' ) );
86 92
 	}
@@ -171,7 +177,7 @@  discard block
 block discarded – undo
171 177
 	 * Only enqueue block assets when needed.
172 178
 	 *
173 179
 	 * @param string $type slug of the block.
174
-	 * @param array $script_dependencies An array of view-side Javascript dependencies to be enqueued.
180
+	 * @param string[] $script_dependencies An array of view-side Javascript dependencies to be enqueued.
175 181
 	 *
176 182
 	 * @return void
177 183
 	 */
Please login to merge, or discard this patch.