@@ -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 | } |
@@ -169,7 +172,6 @@ discard block |
||
169 | 172 | * issues with the backup process. |
170 | 173 | * |
171 | 174 | * @param string $context The context for the warning. |
172 | - * @param string $error The warning that was encountered. |
|
173 | 175 | */ |
174 | 176 | public function warning( $context, $warning ) { |
175 | 177 |
@@ -68,7 +68,7 @@ |
||
68 | 68 | * |
69 | 69 | * @param string $message |
70 | 70 | * |
71 | - * @return null |
|
71 | + * @return string|null |
|
72 | 72 | */ |
73 | 73 | public function set_status( $message ) { |
74 | 74 |
@@ -71,7 +71,7 @@ |
||
71 | 71 | /** |
72 | 72 | * Makes a request to the JSON API or retrieves the cached response. Caches the response for one day. |
73 | 73 | * |
74 | - * @param $endpoint |
|
74 | + * @param string $endpoint |
|
75 | 75 | * @param int $ttl |
76 | 76 | * |
77 | 77 | * @return array|mixed|\WP_Error |