@@ -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() ) ) { |