@@ -206,7 +206,7 @@ discard block |
||
| 206 | 206 | * Get the array of services options for this schedule |
| 207 | 207 | * |
| 208 | 208 | * @param $service |
| 209 | - * @param null $option |
|
| 209 | + * @param string $option |
|
| 210 | 210 | * |
| 211 | 211 | * @return array |
| 212 | 212 | */ |
@@ -283,6 +283,7 @@ discard block |
||
| 283 | 283 | /** |
| 284 | 284 | * Get the schedule reoccurrence |
| 285 | 285 | * |
| 286 | + * @return string |
|
| 286 | 287 | */ |
| 287 | 288 | public function get_reoccurrence() { |
| 288 | 289 | return $this->options['reoccurrence']; |
@@ -670,6 +671,8 @@ discard block |
||
| 670 | 671 | * Calculate schedule run time. |
| 671 | 672 | * |
| 672 | 673 | * @param int Timestamp $end |
| 674 | + * @param integer $start |
|
| 675 | + * @param integer $end |
|
| 673 | 676 | */ |
| 674 | 677 | public function update_average_schedule_run_time( $start, $end ) { |
| 675 | 678 | |
@@ -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' ); |