@@ -36,7 +36,7 @@ |
||
36 | 36 | * @param string $endpoint API endpoint. |
37 | 37 | * @param array $body Request body. |
38 | 38 | * |
39 | - * @return stdClass|WP_Error |
|
39 | + * @return stdClass |
|
40 | 40 | */ |
41 | 41 | protected function call( $method, $endpoint, $body = array() ) { |
42 | 42 | if ( is_wp_error( $error = $this->can_call() ) ) { |
@@ -84,6 +84,7 @@ |
||
84 | 84 | * Imports a provided commit into the database. |
85 | 85 | * |
86 | 86 | * @param WordPress_GitHub_Sync_Commit|WP_Error $commit Commit to import. |
87 | + * @param string|null $head_commit_obj |
|
87 | 88 | * |
88 | 89 | * @return string|WP_Error |
89 | 90 | */ |