Completed
Push — story-block/add/more-media-opt... ( 53fda1...42cfc5 )
by
unknown
107:17 queued 96:49
created
projects/plugins/jetpack/modules/shortcodes/vimeo.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
  * @param array $attr     The attributes of the shortcode.
45 45
  * @param array $old_attr Optional array of attributes from the old shortcode format.
46 46
  *
47
- * @return array Width and height.
47
+ * @return integer[] Width and height.
48 48
  */
49 49
 function jetpack_shortcode_get_vimeo_dimensions( $attr, $old_attr = array() ) {
50 50
 	global $content_width;
Please login to merge, or discard this patch.
projects/plugins/jetpack/modules/simple-payments/simple-payments.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
 	 * Allows custom post types to be used by REST API.
30 30
 	 * @param $post_types
31 31
 	 * @see hook 'rest_api_allowed_post_types'
32
-	 * @return array
32
+	 * @return string[]
33 33
 	 */
34 34
 	function allow_rest_api_types( $post_types ) {
35 35
 		$post_types[] = self::$post_type_order;
Please login to merge, or discard this patch.
projects/plugins/jetpack/modules/sitemaps/sitemap-buffer-image.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -16,6 +16,9 @@
 block discarded – undo
16 16
  */
17 17
 class Jetpack_Sitemap_Buffer_Image extends Jetpack_Sitemap_Buffer {
18 18
 
19
+	/**
20
+	 * @param integer $byte_limit
21
+	 */
19 22
 	public function __construct( $item_limit, $byte_limit, $time = '1970-01-01 00:00:00' ) {
20 23
 		parent::__construct( $item_limit, $byte_limit, $time );
21 24
 
Please login to merge, or discard this patch.
projects/plugins/jetpack/modules/sitemaps/sitemap-buffer-master.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -16,6 +16,9 @@
 block discarded – undo
16 16
  */
17 17
 class Jetpack_Sitemap_Buffer_Master extends Jetpack_Sitemap_Buffer {
18 18
 
19
+	/**
20
+	 * @param integer $byte_limit
21
+	 */
19 22
 	public function __construct( $item_limit, $byte_limit, $time = '1970-01-01 00:00:00' ) {
20 23
 		parent::__construct( $item_limit, $byte_limit, $time );
21 24
 
Please login to merge, or discard this patch.
projects/plugins/jetpack/modules/sitemaps/sitemap-buffer-news.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -16,6 +16,9 @@
 block discarded – undo
16 16
  */
17 17
 class Jetpack_Sitemap_Buffer_News extends Jetpack_Sitemap_Buffer {
18 18
 
19
+	/**
20
+	 * @param integer $byte_limit
21
+	 */
19 22
 	public function __construct( $item_limit, $byte_limit, $time = '1970-01-01 00:00:00' ) {
20 23
 		parent::__construct( $item_limit, $byte_limit, $time );
21 24
 
Please login to merge, or discard this patch.
projects/plugins/jetpack/modules/sitemaps/sitemap-buffer-page.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -16,6 +16,9 @@
 block discarded – undo
16 16
  */
17 17
 class Jetpack_Sitemap_Buffer_Page extends Jetpack_Sitemap_Buffer {
18 18
 
19
+	/**
20
+	 * @param integer $byte_limit
21
+	 */
19 22
 	public function __construct( $item_limit, $byte_limit, $time = '1970-01-01 00:00:00' ) {
20 23
 		parent::__construct( $item_limit, $byte_limit, $time );
21 24
 
Please login to merge, or discard this patch.
projects/plugins/jetpack/modules/sitemaps/sitemap-buffer-video.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -16,6 +16,9 @@
 block discarded – undo
16 16
  */
17 17
 class Jetpack_Sitemap_Buffer_Video extends Jetpack_Sitemap_Buffer {
18 18
 
19
+	/**
20
+	 * @param integer $byte_limit
21
+	 */
19 22
 	public function __construct( $item_limit, $byte_limit, $time = '1970-01-01 00:00:00' ) {
20 23
 		parent::__construct( $item_limit, $byte_limit, $time );
21 24
 
Please login to merge, or discard this patch.
projects/plugins/jetpack/modules/sso.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -262,7 +262,7 @@  discard block
 block discarded – undo
262 262
 	 * Validate the require  two step checkbox in Settings > General
263 263
 	 *
264 264
 	 * @since 2.7
265
-	 * @return boolean
265
+	 * @return integer
266 266
 	 **/
267 267
 	public function validate_jetpack_sso_require_two_step( $input ) {
268 268
 		return ( ! empty( $input ) ) ? 1 : 0;
@@ -287,7 +287,7 @@  discard block
 block discarded – undo
287 287
 	 * Validate the match by email check in Settings > General
288 288
 	 *
289 289
 	 * @since 2.9
290
-	 * @return boolean
290
+	 * @return integer
291 291
 	 **/
292 292
 	public function validate_jetpack_sso_match_by_email( $input ) {
293 293
 		return ( ! empty( $input ) ) ? 1 : 0;
Please login to merge, or discard this patch.
projects/plugins/jetpack/modules/stats.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -290,7 +290,7 @@  discard block
 block discarded – undo
290 290
  * Get Stats Options.
291 291
  *
292 292
  * @access public
293
- * @param mixed $option Option.
293
+ * @param string $option Option.
294 294
  * @return mixed|null.
295 295
  */
296 296
 function stats_get_option( $option ) {
@@ -744,7 +744,7 @@  discard block
 block discarded – undo
744 744
  * Stats Convert Chart URLs.
745 745
  *
746 746
  * @access public
747
- * @param mixed $html HTML.
747
+ * @param string $html HTML.
748 748
  * @return string
749 749
  */
750 750
 function stats_convert_chart_urls( $html ) {
@@ -1414,7 +1414,7 @@  discard block
 block discarded – undo
1414 1414
  *
1415 1415
  * @access public
1416 1416
  * @param mixed $get Get.
1417
- * @param mixed $url URL.
1417
+ * @param string $url URL.
1418 1418
  * @return void
1419 1419
  */
1420 1420
 function stats_print_wp_remote_error( $get, $url ) {
@@ -1556,7 +1556,7 @@  discard block
 block discarded – undo
1556 1556
  * Stats get remote CSV.
1557 1557
  *
1558 1558
  * @access public
1559
- * @param mixed $url URL.
1559
+ * @param string $url URL.
1560 1560
  * @return array
1561 1561
  */
1562 1562
 function stats_get_remote_csv( $url ) {
Please login to merge, or discard this patch.