| @@ -251,9 +251,9 @@ | ||
| 251 | 251 | public function build_level_1_objects($response, array $short_code, $module_parameters = [], $options = []): array { |
| 252 | 252 | // TODO: Implement build_level_1_objects() method. |
| 253 | 253 | } |
| 254 | 254 | |
| 255 | - public function build_level_2_objects($objects_or_response, array $short_code, array $filter_list = [], array &$options = [], ?Pagination &$pagination = null): array { | |
| 255 | + public function build_level_2_objects($objects_or_response, array $short_code, array $filter_list = [], array $options = [], ?Pagination &$pagination = null): array { | |
| 256 | 256 | // TODO: Implement build_level_2_objects() method. |
| 257 | 257 | } |
| 258 | 258 | |
| 259 | 259 | public function authentication_URL() { |
| @@ -287,9 +287,9 @@ | ||
| 287 | 287 | } |
| 288 | 288 | set_transient('photonic_' . $this->provider . '_token', $token, $token['oauth_token_expires']); |
| 289 | 289 | set_transient('photonic_deviantart_refresh_token_' . $this->client_id, $token['oauth_refresh_token'], 90 * 24 * 3600); |
| 290 | 290 | if (empty($token)) { |
| 291 | - $error = print_r(wp_remote_retrieve_body($response), true); | |
| 291 | + $error = print_r(wp_remote_retrieve_body($response), true); // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_print_r | |
| 292 | 292 | } |
| 293 | 293 | } |
| 294 | 294 | else { |
| 295 | 295 | $error = $response->get_error_message(); |