Completed
Push — update/danger-to-action ( 300d8b...62cbcc )
by Jeremy
622:01 queued 611:52
created
plugins/jetpack/modules/theme-tools/site-logo/inc/class-site-logo.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -258,7 +258,7 @@
 block discarded – undo
258 258
 	/**
259 259
 	 * Reset the site logo if the current logo is deleted in the media manager.
260 260
 	 *
261
-	 * @param int $site_id
261
+	 * @param int $post_id
262 262
 	 * @uses Site_Logo::remove_site_logo()
263 263
 	 */
264 264
 	public function reset_on_attachment_delete( $post_id ) {
Please login to merge, or discard this patch.
projects/plugins/jetpack/modules/theme-tools/site-logo/inc/functions.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -165,6 +165,7 @@
 block discarded – undo
165 165
  * Sanitize the string of classes used for header text.
166 166
  * Limit to A-Z,a-z,0-9,(space),(comma),_,-
167 167
  *
168
+ * @param string $classes
168 169
  * @return string Sanitized string of CSS classes.
169 170
  */
170 171
 function jetpack_sanitize_header_text_classes( $classes ) {
Please login to merge, or discard this patch.
jetpack/modules/tiled-gallery/tiled-gallery/tiled-gallery-layout.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -9,6 +9,11 @@  discard block
 block discarded – undo
9 9
 	public $link;
10 10
 	public $grayscale;
11 11
 	public $columns;
12
+
13
+	/**
14
+	 * @param boolean $grayscale
15
+	 * @param integer $columns
16
+	 */
12 17
 	public function __construct( $attachments, $link, $grayscale, $columns ) {
13 18
 
14 19
 		$this->attachments           = $attachments;
@@ -39,6 +44,9 @@  discard block
 block discarded – undo
39 44
 		return $html;
40 45
 	}
41 46
 
47
+	/**
48
+	 * @param string $name
49
+	 */
42 50
 	private function template( $name, $context = null ) {
43 51
 		if ( ! in_array( $name, self::$templates ) ) {
44 52
 			return;
Please login to merge, or discard this patch.
projects/plugins/jetpack/modules/videopress/class.jetpack-videopress.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -245,7 +245,7 @@  discard block
 block discarded – undo
245 245
 	/**
246 246
 	 * A work-around / hack to make it possible to go to the media library with the add new box open.
247 247
 	 *
248
-	 * @return bool
248
+	 * @return false|null
249 249
 	 */
250 250
 	public function print_in_footer_open_media_add_new() {
251 251
 		global $pagenow;
@@ -339,7 +339,7 @@  discard block
 block discarded – undo
339 339
 	/**
340 340
 	 * @param array $extensions
341 341
 	 *
342
-	 * @return array
342
+	 * @return string[]
343 343
 	 */
344 344
 	public function add_videopress_extenstion( $extensions ) {
345 345
 		$extensions[] = 'videopress';
Please login to merge, or discard this patch.
projects/plugins/jetpack/modules/videopress/class.videopress-player.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -185,6 +185,7 @@
 block discarded – undo
185 185
 	 * @since 1.3
186 186
 	 * @uses current_user_can() to test if current user has edit_posts capability
187 187
 	 * @var WP_Error $error WordPress error
188
+	 * @param VideoPress_Video $error
188 189
 	 * @return string HTML string
189 190
 	 */
190 191
 	private function error_message( $error ) {
Please login to merge, or discard this patch.
projects/plugins/jetpack/modules/videopress/class.videopress-scheduler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
 	 *
86 86
 	 * @param string $cron_name
87 87
 	 *
88
-	 * @return bool
88
+	 * @return false|null
89 89
 	 */
90 90
 	public function activate_cron( $cron_name ) {
91 91
 
Please login to merge, or discard this patch.
projects/plugins/jetpack/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.
projects/plugins/jetpack/modules/widgets/blog-stats.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
 	 *
47 47
 	 * These values are used in new widgets.
48 48
 	 *
49
-	 * @return array Array of default values for the Widget's options
49
+	 * @return string Array of default values for the Widget's options
50 50
 	 */
51 51
 	public function defaults() {
52 52
 		return array(
Please login to merge, or discard this patch.
projects/plugins/jetpack/modules/widgets/eu-cookie-law.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@
 block discarded – undo
116 116
 		 *
117 117
 		 * These values are used in new widgets.
118 118
 		 *
119
-		 * @return array Default values for the widget options.
119
+		 * @return string Default values for the widget options.
120 120
 		 */
121 121
 		public function defaults() {
122 122
 			return array(
Please login to merge, or discard this patch.