Completed
Push — add/podcast-player-json-suppor... ( b6bba5 )
by
unknown
64:03 queued 56:42
created
modules/carousel/jetpack-carousel.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -129,6 +129,9 @@  discard block
 block discarded – undo
129 129
 		return apply_filters( 'jp_carousel_load_for_images_linked_to_file', false );
130 130
 	}
131 131
 
132
+	/**
133
+	 * @param string $version
134
+	 */
132 135
 	function asset_version( $version ) {
133 136
 		/**
134 137
 		 * Filter the version string used when enqueuing Carousel assets.
@@ -511,6 +514,9 @@  discard block
 block discarded – undo
511 514
 		return $attr;
512 515
 	}
513 516
 
517
+	/**
518
+	 * @param string $html
519
+	 */
514 520
 	function add_data_to_container( $html ) {
515 521
 		global $post;
516 522
 		if (
@@ -757,6 +763,9 @@  discard block
 block discarded – undo
757 763
 		return ( 1 == $value ) ? 1 : 0;
758 764
 	}
759 765
 
766
+	/**
767
+	 * @param string $name
768
+	 */
760 769
 	function settings_checkbox( $name, $label_text, $extra_text = '', $default_to_checked = true ) {
761 770
 		if ( empty( $name ) ) {
762 771
 			return;
@@ -772,6 +781,9 @@  discard block
 block discarded – undo
772 781
 		echo '</fieldset>';
773 782
 	}
774 783
 
784
+	/**
785
+	 * @param string $name
786
+	 */
775 787
 	function settings_select( $name, $values, $extra_text = '' ) {
776 788
 		if ( empty( $name ) || ! is_array( $values ) || empty( $values ) ) {
777 789
 			return;
Please login to merge, or discard this patch.
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.
json-endpoints/jetpack/class.jetpack-json-api-sync-endpoint.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -228,6 +228,9 @@
 block discarded – undo
228 228
 		);
229 229
 	}
230 230
 
231
+	/**
232
+	 * @param Queue $queue
233
+	 */
231 234
 	protected function get_buffer( $queue, $number_of_items ) {
232 235
 		$start = time();
233 236
 		$max_duration = 5; // this will try to get the buffer
Please login to merge, or discard this patch.
tools/import-translations.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 /**
23 23
  * Converts GlotPress URL into a GlotPress API URL
24 24
  *
25
- * @param sring $url URL
25
+ * @param string $url URL
26 26
  * @return sstring API URL
27 27
  */
28 28
 function apize_url( $url ) {
Please login to merge, or discard this patch.
_inc/lib/plugins.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -95,6 +95,9 @@
 block discarded – undo
95 95
 		return (array) $upgrader->skin->get_upgrade_messages();
96 96
 	}
97 97
 
98
+	 /**
99
+	  * @param string $plugin_slug
100
+	  */
98 101
 	 protected static function generate_wordpress_org_plugin_download_link( $plugin_slug ) {
99 102
 		return "https://downloads.wordpress.org/plugin/$plugin_slug.latest-stable.zip";
100 103
 	 }
Please login to merge, or discard this patch.
packages/connection/tests/php/test_Manager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@
 block discarded – undo
115 115
 	 * Mock a global function and make it return a certain value.
116 116
 	 *
117 117
 	 * @param string $function_name Name of the function.
118
-	 * @param mixed  $return_value  Return value of the function.
118
+	 * @param integer  $return_value  Return value of the function.
119 119
 	 * @return phpmock\Mock The mock object.
120 120
 	 */
121 121
 	protected function mock_function( $function_name, $return_value = null ) {
Please login to merge, or discard this patch.
packages/analyzer/src/Declarations.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -33,6 +33,9 @@
 block discarded – undo
33 33
 		}
34 34
 	}
35 35
 
36
+	/**
37
+	 * @param string $root
38
+	 */
36 39
 	public function scan_dir( $root, $exclude = array() ) {
37 40
 
38 41
 		if ( is_null( $exclude ) || ! is_array( $exclude ) ) {
Please login to merge, or discard this patch.
packages/analyzer/src/Invocations.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -37,6 +37,9 @@
 block discarded – undo
37 37
 		}
38 38
 	}
39 39
 
40
+	/**
41
+	 * @param string $root
42
+	 */
40 43
 	public function scan_dir( $root, $exclude = array() ) {
41 44
 		$filter = function ( $file, $key, $iterator ) use ( $exclude ) {
42 45
 			if ( $iterator->hasChildren() && ! in_array( $file->getFilename(), $exclude ) ) {
Please login to merge, or discard this patch.
packages/analyzer/src/Invocations/Visitor.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -9,6 +9,9 @@
 block discarded – undo
9 9
 	private $invocations;
10 10
 	private $file_path;
11 11
 
12
+	/**
13
+	 * @param  $invocations
14
+	 */
12 15
 	public function __construct( $file_path, $invocations ) {
13 16
 		$this->file_path   = $file_path;
14 17
 		$this->invocations = $invocations;
Please login to merge, or discard this patch.