@@ -157,7 +157,7 @@ discard block |
||
157 | 157 | * |
158 | 158 | * @param string $message |
159 | 159 | * |
160 | - * @return null |
|
160 | + * @return boolean |
|
161 | 161 | */ |
162 | 162 | public function set_status( $message ) { |
163 | 163 | |
@@ -210,6 +210,9 @@ discard block |
||
210 | 210 | return Path::get_path() . '/.backup-' . $this->id . '-running'; |
211 | 211 | } |
212 | 212 | |
213 | + /** |
|
214 | + * @param \Closure $callback |
|
215 | + */ |
|
213 | 216 | public function set_status_callback( $callback ) { |
214 | 217 | $this->callback = $callback; |
215 | 218 | } |