Skip to content

Commit

Permalink
Merge pull request #47 from magelogger/php8.2-support-magelogger
Browse files Browse the repository at this point in the history
PHP 8.2 support.
  • Loading branch information
tcdent authored Mar 6, 2023
2 parents 3cd5691 + a3c2318 commit e47bbff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion restclient.php
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ public function decode_response(){
if(empty($this->decoded_response)){
$format = $this->get_response_format();
if(!array_key_exists($format, $this->options['decoders']))
throw new RestClientException("'${format}' is not a supported ".
throw new RestClientException("'{$format}' is not a supported ".
"format, register a decoder to handle this response.");

$this->decoded_response = call_user_func(
Expand Down

0 comments on commit e47bbff

Please sign in to comment.