@@ -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' ) ) { |
@@ -166,7 +166,7 @@ discard block |
||
| 166 | 166 | /** |
| 167 | 167 | * Set the exclude rules |
| 168 | 168 | * |
| 169 | - * @param mixed $excludes A comma separated list or array of exclude rules |
|
| 169 | + * @param mixed $exclude_rules A comma separated list or array of exclude rules |
|
| 170 | 170 | * @param bool $append Whether to replace or append to existing rules |
| 171 | 171 | * |
| 172 | 172 | * @return string |
@@ -208,7 +208,7 @@ discard block |
||
| 208 | 208 | * Get the array of services options for this schedule |
| 209 | 209 | * |
| 210 | 210 | * @param $service |
| 211 | - * @param null $option |
|
| 211 | + * @param string $option |
|
| 212 | 212 | * |
| 213 | 213 | * @return array |
| 214 | 214 | */ |
@@ -285,6 +285,7 @@ discard block |
||
| 285 | 285 | /** |
| 286 | 286 | * Get the schedule reoccurrence |
| 287 | 287 | * |
| 288 | + * @return string |
|
| 288 | 289 | */ |
| 289 | 290 | public function get_reoccurrence() { |
| 290 | 291 | return $this->options['reoccurrence']; |
@@ -661,6 +662,8 @@ discard block |
||
| 661 | 662 | * Calculate schedule run time. |
| 662 | 663 | * |
| 663 | 664 | * @param int Timestamp $end |
| 665 | + * @param integer $start |
|
| 666 | + * @param integer $end |
|
| 664 | 667 | */ |
| 665 | 668 | public function update_average_schedule_run_time( $start, $end ) { |
| 666 | 669 | |