Completed
Push — try/composer-jetpack-logo-depe... ( 8eeb81 )
by
unknown
07:25
created
modules/shortcodes/soundcloud.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
 /**
143 143
  * Plugin options getter
144 144
  *
145
- * @param  string|array $option  Option name.
145
+ * @param  string $option  Option name.
146 146
  * @param  mixed        $default Default value.
147 147
  *
148 148
  * @return mixed                   Option value
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
  *
159 159
  * @param string $url Soundcloud URL.
160 160
  *
161
- * @return boolean
161
+ * @return integer
162 162
  */
163 163
 function soundcloud_url_has_tracklist( $url ) {
164 164
 	return preg_match( '/^(.+?)\/(sets|groups|playlists)\/(.+?)$/', $url );
Please login to merge, or discard this patch.
modules/sharedaddy/sharing-sources.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -339,6 +339,9 @@  discard block
 block discarded – undo
339 339
 		do_action( 'sharing_bump_stats', array( 'service' => $this, 'post' => $post ) );
340 340
 	}
341 341
 
342
+	/**
343
+	 * @param string $name
344
+	 */
342 345
 	public function js_dialog( $name, $params = array() ) {
343 346
 		if ( true !== $this->open_link_in_new ) {
344 347
 			return;
@@ -1458,6 +1461,9 @@  discard block
 block discarded – undo
1458 1461
 		return __( 'Pinterest', 'jetpack' );
1459 1462
 	}
1460 1463
 
1464
+	/**
1465
+	 * @return string
1466
+	 */
1461 1467
 	public function get_image( $post ) {
1462 1468
 		if ( class_exists( 'Jetpack_PostImages' ) ) {
1463 1469
 			$image = Jetpack_PostImages::get_image( $post->ID, array( 'fallback_to_avatars' => true ) );
Please login to merge, or discard this patch.
modules/sitemaps/sitemap-finder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
 	 *
83 83
 	 * @param string $raw_uri A URI (path+query only) to test for sitemap-ness.
84 84
 	 *
85
-	 * @return array @args {
85
+	 * @return string @args {
86 86
 	 *   @type string $sitemap_name The recognized sitemap name (or null).
87 87
 	 * }
88 88
 	 */
Please login to merge, or discard this patch.
packages/jetpack-logo/src/Logo.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
 	 *
57 57
 	 * @static
58 58
 	 *
59
-	 * @param string $url Optional custom URL of a Jetpack logo.
59
+	 * @param string $filename
60 60
 	 * @return string The Jetpack logo.
61 61
 	 */
62 62
 	public function render( $filename = null ) {
Please login to merge, or discard this patch.
packages/jetpack-logo/tests/fixtures.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -7,10 +7,17 @@
 block discarded – undo
7 7
 	return $URL;
8 8
 }
9 9
 
10
+/**
11
+ * @param string $string
12
+ * @param string $namespace
13
+ */
10 14
 function esc_attr__( $string, $namespace ) {
11 15
 	return $string;
12 16
 }
13 17
 
18
+/**
19
+ * @param string $path
20
+ */
14 21
 function content_url( $path ) {
15 22
 	return 'https://example.com/wp-content'. $path;
16 23
 }
Please login to merge, or discard this patch.