@@ -19,6 +19,9 @@ discard block |
||
| 19 | 19 | $this->database_dump_filename = $database_dump_filename; |
| 20 | 20 | } |
| 21 | 21 | |
| 22 | + /** |
|
| 23 | + * @param string $type |
|
| 24 | + */ |
|
| 22 | 25 | public function set_type( $type ) { |
| 23 | 26 | $this->type = $type; |
| 24 | 27 | } |
@@ -165,7 +168,7 @@ discard block |
||
| 165 | 168 | * issues with the backup process. |
| 166 | 169 | * |
| 167 | 170 | * @param string $context The context for the warning. |
| 168 | - * @param string $error The warning that was encountered. |
|
| 171 | + * @param string $warning |
|
| 169 | 172 | */ |
| 170 | 173 | public function warning( $context, $warning ) { |
| 171 | 174 | |
@@ -258,7 +258,7 @@ |
||
| 258 | 258 | * |
| 259 | 259 | * @access public |
| 260 | 260 | * @param Scheduled_Backup $schedule |
| 261 | - * @return void |
|
| 261 | + * @return string|null |
|
| 262 | 262 | */ |
| 263 | 263 | function schedule_status( Scheduled_Backup $schedule, $echo = true ) { |
| 264 | 264 | |