@@ -53,7 +53,6 @@ discard block |
||
53 | 53 | /** |
54 | 54 | * Convenience function to format the file size |
55 | 55 | * |
56 | - * @param bool $cached |
|
57 | 56 | * |
58 | 57 | * @return bool|string |
59 | 58 | */ |
@@ -64,7 +63,7 @@ discard block |
||
64 | 63 | /** |
65 | 64 | * Whether the total filesize is being calculated |
66 | 65 | * |
67 | - * @return int The total of the file or directory |
|
66 | + * @return boolean The total of the file or directory |
|
68 | 67 | */ |
69 | 68 | public static function is_site_size_being_calculated() { |
70 | 69 | return false !== get_transient( 'hmbkp_directory_filesizes_running' ); |
@@ -106,6 +106,9 @@ |
||
106 | 106 | |
107 | 107 | } |
108 | 108 | |
109 | + /** |
|
110 | + * @return string |
|
111 | + */ |
|
109 | 112 | public function get_zip_executable_path() { |
110 | 113 | |
111 | 114 | if ( defined( 'HMBKP_ZIP_PATH' ) ) { |