Skip to content

Commit

Permalink
Fix: PHPCS
Browse files Browse the repository at this point in the history
  • Loading branch information
SH4LIN committed Dec 14, 2023
1 parent dc9abf0 commit 3c2288f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/classes/class-search-engine.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public function get_search_results( string $search_query, int $page = 1, int $po
$request_url = add_query_arg( array( 'start' => $start ), $request_url );
}

if ( function_exists( 'vip_safe_wp_remote_get') ) {
if ( function_exists( 'vip_safe_wp_remote_get' ) ) {
$response = vip_safe_wp_remote_get(
$request_url, // URL.
new \WP_Error( 'google_api_error', __( 'Unknown error occurred', 'search-with-google' ) ), // Fallback value.
Expand Down

0 comments on commit 3c2288f

Please sign in to comment.