Skip to content

Commit

Permalink
Merge pull request #2675 from Parsely/fix/phpstan-error
Browse files Browse the repository at this point in the history
Fix PHPStan error
  • Loading branch information
acicovic authored Jul 30, 2024
2 parents b9ad8f4 + 8d5c411 commit 668e171
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Endpoints/class-base-api-proxy.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ protected function get_data( WP_REST_Request $request, bool $require_api_secret
}

// A proxy with caching behavior is used here.
$response = $this->api->get_items( $params ); // @phpstan-ignore-line.
$response = $this->api->get_items( $params );

if ( is_wp_error( $response ) ) {
return $response;
Expand Down

0 comments on commit 668e171

Please sign in to comment.