Completed
Push — update/jetpack-videopress-fiel... ( 82c21f )
by
unknown
10:04 queued 01:27
created
modules/protect/blocked-login-page.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -35,6 +35,7 @@  discard block
 block discarded – undo
35 35
 	/**
36 36
 	 * Singleton implementation
37 37
 	 *
38
+	 * @param string|false $ip_address
38 39
 	 * @return object
39 40
 	 */
40 41
 	public static function instance( $ip_address ) {
@@ -348,6 +349,9 @@  discard block
 block discarded – undo
348 349
 		return $contents;
349 350
 	}
350 351
 
352
+	/**
353
+	 * @param string $message
354
+	 */
351 355
 	function display_page( $title, $message, $back_button = false, $recovery_form = false ) {
352 356
 
353 357
 		if ( ! headers_sent() ) {
Please login to merge, or discard this patch.
functions.photon.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -326,7 +326,7 @@
 block discarded – undo
326 326
  *
327 327
  * @param string  $url The URL to parse.
328 328
  * @param integer $component Retrieve specific URL component.
329
- * @return mixed Result of parse_url
329
+ * @return string|false Result of parse_url
330 330
  */
331 331
 function jetpack_photon_parse_url( $url, $component = -1 ) {
332 332
 	_deprecated_function( 'jetpack_photon_parse_url', 'jetpack-7.8.0', 'wp_parse_url' );
Please login to merge, or discard this patch.
modules/shortcodes/youtube.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -378,7 +378,7 @@  discard block
 block discarded – undo
378 378
  *
379 379
  * @since 8.0.0
380 380
  *
381
- * @param array $url The parsed URL of the shortcode.
381
+ * @param string|false $url The parsed URL of the shortcode.
382 382
  *
383 383
  * @return array|false The query args of the URL, or false.
384 384
  */
@@ -452,7 +452,7 @@  discard block
 block discarded – undo
452 452
  *
453 453
  * @param array $query_args The query args of the URL.
454 454
  *
455
- * @return array The width and height of the shortcode.
455
+ * @return integer[] The width and height of the shortcode.
456 456
  */
457 457
 function jetpack_shortcode_youtube_dimensions( $query_args ) {
458 458
 	global $content_width;
Please login to merge, or discard this patch.
modules/videopress/class.videopress-video.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -174,6 +174,7 @@  discard block
 block discarded – undo
174 174
 	 * @since 1.3
175 175
 	 * @var string $guid VideoPress unique identifier
176 176
 	 * @var int $maxwidth maximum requested video width. final width and height are calculated on VideoPress servers based on the aspect ratio of the original video upload.
177
+	 * @param string $guid
177 178
 	 */
178 179
 	public function __construct( $guid, $maxwidth = 640 ) {
179 180
 		$this->guid = $guid;
@@ -311,7 +312,7 @@  discard block
 block discarded – undo
311 312
 	 *
312 313
 	 * @since 1.2
313 314
 	 * @param string $url absolute URL
314
-	 * @return bool|string host component of the URL, or false if none found
315
+	 * @return string|false host component of the URL, or false if none found
315 316
 	 */
316 317
 	public static function hostname( $url ) {
317 318
 		return wp_parse_url( esc_url_raw( $url ), PHP_URL_HOST );
Please login to merge, or discard this patch.
packages/sync/src/class-replicastore.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -325,7 +325,7 @@
 block discarded – undo
325 325
 	 * @access protected
326 326
 	 *
327 327
 	 * @param string $status Comment status.
328
-	 * @return string|bool New comment_approved value, false if the status doesn't affect it.
328
+	 * @return string|false New comment_approved value, false if the status doesn't affect it.
329 329
 	 */
330 330
 	protected function comment_status_to_approval_value( $status ) {
331 331
 		switch ( (string) $status ) {
Please login to merge, or discard this patch.
modules/shortcodes/instagram.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@
 block discarded – undo
145 145
  * @param string $url  URL of the content to be embedded.
146 146
  * @param array  $atts Shortcode attributes.
147 147
  *
148
- * @return array $params Array of parameters to be used in Instagram query.
148
+ * @return string $params Array of parameters to be used in Instagram query.
149 149
  */
150 150
 function jetpack_instagram_get_allowed_parameters( $url, $atts = array() ) {
151 151
 	global $content_width;
Please login to merge, or discard this patch.
extensions/blocks/story/story.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -217,7 +217,7 @@
 block discarded – undo
217 217
  * Render a slide
218 218
  *
219 219
  * @param array $media  Media information.
220
- * @param array $index  Index of the slide, first slide will be displayed by default, others hidden.
220
+ * @param integer $index  Index of the slide, first slide will be displayed by default, others hidden.
221 221
  *
222 222
  * @return string
223 223
  */
Please login to merge, or discard this patch.
modules/widgets/rsslinks-widget.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
 	 * Return an associative array of default values
63 63
 	 * These values are used in new widgets as well as when sanitizing input.
64 64
 	 *
65
-	 * @return array Array of default values for the Widget's options
65
+	 * @return string Array of default values for the Widget's options
66 66
 	 */
67 67
 	function defaults() {
68 68
 		return array(
@@ -172,6 +172,9 @@  discard block
 block discarded – undo
172 172
 		echo '</select></label></p></div>';
173 173
 	}
174 174
 
175
+	/**
176
+	 * @param string $type
177
+	 */
175 178
 	function _rss_link( $type, $args ) {
176 179
 		if ( 'posts' == $type ) {
177 180
 			$type_text = __( 'Posts', 'jetpack' );
Please login to merge, or discard this patch.
packages/connection/tests/php/test_Signature.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -220,7 +220,7 @@
 block discarded – undo
220 220
 	 * Also used by @see self::test_request_port_constants
221 221
 	 *
222 222
 	 * @param mixed   $http_x_forwarded_port value of $_SERVER[ 'HTTP_X_FORWARDED_PORT' ].
223
-	 * @param mixed   $server_port value of $_SERVER[ 'SERVER_PORT' ]. Null will unset the value.
223
+	 * @param string   $server_port value of $_SERVER[ 'SERVER_PORT' ]. Null will unset the value.
224 224
 	 * @param string  $expeceted The expected output. Null will unset the value.
225 225
 	 * @param boolean $ssl Whether to consider current request using SSL or not.
226 226
 	 *
Please login to merge, or discard this patch.