Completed
Push — add/beta-plugin-code-standard ( 9ef152...d11d22 )
by
unknown
66:40 queued 54:35
created
projects/plugins/beta/jetpack-beta-admin.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -99,6 +99,9 @@  discard block
 block discarded – undo
99 99
 		exit();
100 100
 	}
101 101
 
102
+	/**
103
+	 * @param string $option
104
+	 */
102 105
 	static function is_toggle_action( $option ) {
103 106
 		return (
104 107
 			isset( $_GET['_nonce'] ) &&
@@ -316,6 +319,9 @@  discard block
 block discarded – undo
316 319
 		<?php
317 320
 	}
318 321
 
322
+	/**
323
+	 * @param string $header
324
+	 */
319 325
 	static function show_tag( $header, $tag, $url = null, $section = null, $is_last = false ) {
320 326
 		$is_compact = $is_last ? '' : 'is-compact';
321 327
 		if ( isset( $url ) ) {
@@ -532,6 +538,10 @@  discard block
 block discarded – undo
532 538
 		self::show_toggle( __( 'Email Notifications', 'jetpack-beta' ), 'email_notifications', $email_notification );
533 539
 	}
534 540
 
541
+	/**
542
+	 * @param string $option
543
+	 * @param boolean $value
544
+	 */
535 545
 	static function show_toggle( $name, $option, $value ) {
536 546
 		$query = array(
537 547
 			'page'    => 'jetpack-beta',
Please login to merge, or discard this patch.