@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | /** |
112 | 112 | * Checks if autoupdates and email notifications are toggled. |
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 ( |
@@ -357,7 +357,7 @@ discard block |
||
357 | 357 | /** |
358 | 358 | * Handles list of available Jetpack tags to select specific Jetpack version number. |
359 | 359 | * |
360 | - * @param var $header - Title of tag. |
|
360 | + * @param string $header - Title of tag. |
|
361 | 361 | * @param var $tag - Jetpack tag (for selecting a specific version of Jetpack). |
362 | 362 | * @param var $url - Download link for Jetpack version. |
363 | 363 | * @param var $section - The kind of version we're switching to (in this case 'tags'). |
@@ -411,7 +411,7 @@ discard block |
||
411 | 411 | * Handles the activation buttons. |
412 | 412 | * |
413 | 413 | * @param object $branch - Specifies which branch. |
414 | - * @param var $section - The kind of branch we're switching to (stable, rc, master, pr). |
|
414 | + * @param var|null $section - The kind of branch we're switching to (stable, rc, master, pr). |
|
415 | 415 | */ |
416 | 416 | public static function activate_button( $branch, $section ) { |
417 | 417 | if ( is_object( $section ) && $branch === 'master' ) { |
@@ -611,7 +611,7 @@ discard block |
||
611 | 611 | * Display autoupdate and email notification toggles |
612 | 612 | * |
613 | 613 | * @param var $name - name of toggle. |
614 | - * @param var $option - Which toggle (autoupdates, email_notification). |
|
614 | + * @param string $option - Which toggle (autoupdates, email_notification). |
|
615 | 615 | * @param bool $value - If toggle is active or not. |
616 | 616 | */ |
617 | 617 | public static function show_toggle( $name, $option, $value ) { |