Completed
Push — add/beta-plugin-code-standard ( 8f0755...601c1d )
by
unknown
115:13 queued 105:21
created
projects/plugins/beta/jetpack-beta-admin.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
 	/**
116 116
 	 * Checks if autoupdates and email notifications are toggled.
117 117
 	 *
118
-	 * @param var $option - Which option is being toggled.
118
+	 * @param string $option - Which option is being toggled.
119 119
 	 */
120 120
 	public static function is_toggle_action( $option ) {
121 121
 		return (
@@ -366,7 +366,7 @@  discard block
 block discarded – undo
366 366
 	/**
367 367
 	 * Handles list of available Jetpack tags to select specific Jetpack version number.
368 368
 	 *
369
-	 * @param var  $header - Title of tag.
369
+	 * @param string  $header - Title of tag.
370 370
 	 * @param var  $tag - Jetpack tag (for selecting a specific version of Jetpack).
371 371
 	 * @param var  $url - Download link for Jetpack version.
372 372
 	 * @param var  $section - The kind of version we're switching to (in this case 'tags').
@@ -421,7 +421,7 @@  discard block
 block discarded – undo
421 421
 	 * Handles the activation buttons.
422 422
 	 *
423 423
 	 * @param object $branch - Specifies which branch.
424
-	 * @param var    $section - The kind of branch we're switching to (stable, rc, master, pr).
424
+	 * @param var|null    $section - The kind of branch we're switching to (stable, rc, master, pr).
425 425
 	 */
426 426
 	public static function activate_button( $branch, $section ) {
427 427
 		if ( is_object( $section ) && 'master' === $branch ) {
@@ -621,7 +621,7 @@  discard block
 block discarded – undo
621 621
 	 * Display autoupdate and email notification toggles
622 622
 	 *
623 623
 	 * @param var  $name - name of toggle.
624
-	 * @param var  $option - Which toggle (autoupdates, email_notification).
624
+	 * @param string  $option - Which toggle (autoupdates, email_notification).
625 625
 	 * @param bool $value - If toggle is active or not.
626 626
 	 */
627 627
 	public static function show_toggle( $name, $option, $value ) {
Please login to merge, or discard this patch.