Completed
Push — add/beta-plugin-code-standard ( f34cb1...9730c3 )
by
unknown
405:18 queued 395:38
created
projects/plugins/beta/class-jetpack-beta.php 1 patch
Doc Comments   +10 added lines, -2 removed lines patch added patch discarded remove patch
@@ -639,6 +639,7 @@  discard block
 block discarded – undo
639 639
 	 * Fetch latest Jetpack version.
640 640
 	 *
641 641
 	 * @param bool $is_dev_version - If JP Dev version is being queried.
642
+	 * @return string
642 643
 	 */
643 644
 	public static function get_new_jetpack_version( $is_dev_version = false ) {
644 645
 		$manifest = self::get_beta_manifest();
@@ -769,7 +770,7 @@  discard block
 block discarded – undo
769 770
 	/**
770 771
 	 * Get JP plugin data.
771 772
 	 *
772
-	 * @param mixed $plugin_file - JP or JP Dev plugin path.
773
+	 * @param string $plugin_file - JP or JP Dev plugin path.
773 774
 	 */
774 775
 	public static function get_jetpack_plugin_info( $plugin_file = null ) {
775 776
 
@@ -942,6 +943,9 @@  discard block
 block discarded – undo
942 943
 		return $current_manifest_data;
943 944
 	}
944 945
 
946
+	/**
947
+	 * @param string $plugin_folder
948
+	 */
945 949
 	static function proceed_to_install_and_activate( $url, $plugin_folder = JETPACK_DEV_PLUGIN_SLUG, $section ) {
946 950
 		self::proceed_to_install( $url, $plugin_folder, $section );
947 951
 
@@ -996,6 +1000,10 @@  discard block
 block discarded – undo
996 1000
 		return false;
997 1001
 	}
998 1002
 
1003
+	/**
1004
+	 * @param string $current_plugin
1005
+	 * @param string $replace_with_plugin
1006
+	 */
999 1007
 	static function replace_active_plugin( $current_plugin, $replace_with_plugin = null, $force_activate = false ) {
1000 1008
 		if ( self::is_network_active() ) {
1001 1009
 			$new_active_plugins     = array();
@@ -1322,7 +1330,7 @@  discard block
 block discarded – undo
1322 1330
 	/**
1323 1331
 	 * Checks if a dir is empty
1324 1332
 	 *
1325
-	 * @param [type] $dir The absolute directory path to check
1333
+	 * @param string $dir The absolute directory path to check
1326 1334
 	 * @return boolean
1327 1335
 	 */
1328 1336
 	static function is_dir_empty( $dir ) {
Please login to merge, or discard this patch.