Skip to content

Commit

Permalink
Minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
burhandodhy committed Mar 7, 2024
1 parent 0c8cc07 commit 9b0b60f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions includes/api/class-bc-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ private function cached_get( $url, $args, $cache_fail_response = false ) {
$successful_response_codes = array( 200, 201, 202, 204 );

/**
* Filter whether to cache the api response.
* Filter whether to cache the api fail response.
*
* @since 2.8.5
* @hook brightcove_cache_api_fail_response
Expand All @@ -147,10 +147,10 @@ private function cached_get( $url, $args, $cache_fail_response = false ) {
* Sends the request to the remote server using the appropriate method and
* logs any errors in the event of failures.
*
* @param string $url the endpoint to connect to
* @param string $method the http method to use
* @param array $data array of further data to send to the server
* @param boolean $force_new_token whether or not to force obtaining a new oAuth token
* @param string $url the endpoint to connect to
* @param string $method the http method to use
* @param array $data array of further data to send to the server
* @param boolean $force_new_token whether or not to force obtaining a new oAuth token
* @param boolean $cache_fail_response whether or not to cache the api fail response
*
* @return mixed the return data from the call of false if a failure occurred
Expand Down

0 comments on commit 9b0b60f

Please sign in to comment.