Completed
Push — fix/appearance-menu ( ef2b21...41f5cb )
by
unknown
46:54 queued 37:50
created
modules/theme-tools/responsive-videos.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -29,6 +29,7 @@
 block discarded – undo
29 29
 /**
30 30
  * Adds a wrapper to videos and enqueue script
31 31
  *
32
+ * @param string $html
32 33
  * @return string
33 34
  */
34 35
 function jetpack_responsive_videos_embed_html( $html ) {
Please login to merge, or discard this patch.
modules/sitemaps/sitemap-buffer.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
 	 *
155 155
 	 * @since 5.3.0
156 156
 	 *
157
-	 * @param array $array The item to be added.
157
+	 * @param string $array The item to be added.
158 158
 	 *
159 159
 	 * @return bool True if the append succeeded, False if not.
160 160
 	 */
@@ -283,7 +283,7 @@  discard block
 block discarded – undo
283 283
 	 * @param DOMElement  $parent (optional) an element to which new children should be added.
284 284
 	 * @param DOMDocument $root (optional) the parent document.
285 285
 	 *
286
-	 * @return string|DOMDocument The rendered XML string or an object if root element is specified.
286
+	 * @return null|DOMNode The rendered XML string or an object if root element is specified.
287 287
 	 */
288 288
 	protected function array_to_xml_string( $array, $parent = null, $root = null ) {
289 289
 		$return_string = false;
Please login to merge, or discard this patch.
_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.
3rd-party/qtranslate-x.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
  * @param string $url_orig Original URL.
19 19
  * @param array  $url_info  Pieces of original URL.
20 20
  *
21
- * @return bool
21
+ * @return false|string
22 22
  */
23 23
 function jetpack_no_qtranslate_rest_url_redirect( $url_lang, $url_orig, $url_info ) {
24 24
 	if ( false !== strpos( $url_info['wp-path'], 'wp-json/jetpack' ) ) {
Please login to merge, or discard this patch.
modules/protect/math-fallback.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
 		/**
27 27
 		 * Verifies that a user answered the math problem correctly while logging in.
28 28
 		 *
29
-		 * @return bool Returns true if the math is correct
29
+		 * @return boolean|null Returns true if the math is correct
30 30
 		 * @throws Error if insuffient $_POST variables are present.
31 31
 		 * @throws Error message if the math is wrong
32 32
 		 */
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
 		/**
110 110
 		 * Requires a user to solve a simple equation. Added to any WordPress login form.
111 111
 		 *
112
-		 * @return VOID outputs html
112
+		 * @return string|null outputs html
113 113
 		 */
114 114
 		static function math_form() {
115 115
 			// Check if jpp_math_pass cookie is set and it matches valid transient
Please login to merge, or discard this patch.
modules/publicize/ui.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -415,7 +415,7 @@
 block discarded – undo
415 415
 	 *
416 416
 	 * @param array $connections_data
417 417
 	 *
418
-	 * @return array {
418
+	 * @return string {
419 419
 	 *     Array of content for generating connection form.
420 420
 	 *
421 421
 	 *     @type string HTML content of form
Please login to merge, or discard this patch.
modules/publicize/publicize-jetpack.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -682,6 +682,9 @@
 block discarded – undo
682 682
 		$this->options_save_other( 'linkedin' );
683 683
 	}
684 684
 
685
+	/**
686
+	 * @param string $service_name
687
+	 */
685 688
 	function options_save_other( $service_name ) {
686 689
 		// Nonce check
687 690
 		check_admin_referer( 'save_' . $service_name . '_token_' . $_REQUEST['connection'] );
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
@@ -244,6 +244,9 @@
 block discarded – undo
244 244
 		}
245 245
 	}
246 246
 
247
+	/**
248
+	 * @param string $capability
249
+	 */
247 250
 	protected function current_user_can( $capability, $plugin = null ) {
248 251
 		if ( $plugin ) {
249 252
 			return current_user_can( $capability, $plugin );
Please login to merge, or discard this patch.
_inc/lib/debugger/class-jetpack-cxn-test-base.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -199,7 +199,7 @@
 block discarded – undo
199 199
 	 * @param string $type  Test type, async or direct. Optional, direct all tests.
200 200
 	 * @param string $group Testing group to check status of. Optional, default all tests.
201 201
 	 *
202
-	 * @return true|array True if all tests pass. Array of failed tests.
202
+	 * @return boolean True if all tests pass. Array of failed tests.
203 203
 	 */
204 204
 	public function pass( $type = 'all', $group = 'all' ) {
205 205
 		$results = $this->raw_results( $type, $group );
Please login to merge, or discard this patch.