@@ -100,7 +100,7 @@ |
||
100 | 100 | * |
101 | 101 | * @param string $class_name The name of the class to autoload. |
102 | 102 | * |
103 | - * @return bool Indicates whether or not a class file was loaded. |
|
103 | + * @return null|boolean Indicates whether or not a class file was loaded. |
|
104 | 104 | */ |
105 | 105 | public static function load_class( $class_name ) { |
106 | 106 | global $jetpack_autoloader_loader; |
@@ -639,6 +639,7 @@ discard block |
||
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(); |
@@ -714,6 +715,7 @@ discard block |
||
714 | 715 | * |
715 | 716 | * @param string $branch - Branch. |
716 | 717 | * @param string $section - Section. |
718 | + * @return string |
|
717 | 719 | */ |
718 | 720 | public static function get_install_url( $branch = null, $section = null ) { |
719 | 721 | if ( is_null( $section ) ) { |
@@ -769,7 +771,7 @@ discard block |
||
769 | 771 | /** |
770 | 772 | * Get JP plugin data. |
771 | 773 | * |
772 | - * @param mixed $plugin_file - JP or JP Dev plugin path. |
|
774 | + * @param string $plugin_file - JP or JP Dev plugin path. |
|
773 | 775 | */ |
774 | 776 | public static function get_jetpack_plugin_info( $plugin_file = null ) { |
775 | 777 | |
@@ -1418,7 +1420,7 @@ discard block |
||
1418 | 1420 | /** |
1419 | 1421 | * Checks if a dir is empty. |
1420 | 1422 | * |
1421 | - * @param [type] $dir The absolute directory path to check. |
|
1423 | + * @param string $dir The absolute directory path to check. |
|
1422 | 1424 | * @return boolean |
1423 | 1425 | */ |
1424 | 1426 | public static function is_dir_empty( $dir ) { |
@@ -729,6 +729,7 @@ |
||
729 | 729 | * |
730 | 730 | * @param string $branch - Branch that's ready for update. |
731 | 731 | * @param string $section - What kind of branch we're updated (master, rc, pr). |
732 | + * @return string |
|
732 | 733 | */ |
733 | 734 | public static function update_action_url( $branch, $section ) { |
734 | 735 | $query = array( |