Skip to content

Commit 18276f7

Browse files
committed
fix: update variable name for clarity in fetch_search_results method
1 parent 050ba7d commit 18276f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/php/cloud/class-cloud-api.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,9 +223,9 @@ public static function fetch_search_results( string $search_method, string $sear
223223
self::get_cloud_api_url() . 'public/search'
224224
);
225225

226-
$results = self::unpack_request_json( wp_remote_get( $api_url ) );
226+
$raw = self::unpack_request_json( wp_remote_get( $api_url ) );
227227

228-
$results = new Cloud_Snippets( $results );
228+
$results = new Cloud_Snippets( $raw );
229229
$results->page = $page;
230230

231231
return $results;

0 commit comments

Comments
 (0)