Completed
Push — add/beta-plugin-code-standard ( 011fb2...b3b83a )
by
unknown
146:31 queued 137:09
created
projects/plugins/beta/jetpack-beta-admin.php 1 patch
Doc Comments   +8 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
 	/**
112 112
 	 * Toggle options autoupdates and email notifications
113 113
 	 *
114
-	 * @param var $option - Which option is being toggled.
114
+	 * @param string $option - Which option is being toggled.
115 115
 	 */
116 116
 	public static function is_toggle_action( $option ) {
117 117
 		return (
@@ -340,6 +340,9 @@  discard block
 block discarded – undo
340 340
 		<?php
341 341
 	}
342 342
 
343
+	/**
344
+	 * @param string $header
345
+	 */
343 346
 	static function show_tag( $header, $tag, $url = null, $section = null, $is_last = false ) {
344 347
 		$is_compact = $is_last ? '' : 'is-compact';
345 348
 		if ( isset( $url ) ) {
@@ -556,6 +559,10 @@  discard block
 block discarded – undo
556 559
 		self::show_toggle( __( 'Email Notifications', 'jetpack-beta' ), 'email_notifications', $email_notification );
557 560
 	}
558 561
 
562
+	/**
563
+	 * @param string $option
564
+	 * @param boolean $value
565
+	 */
559 566
 	static function show_toggle( $name, $option, $value ) {
560 567
 		$query = array(
561 568
 			'page'    => 'jetpack-beta',
Please login to merge, or discard this patch.