Skip to content

Commit e47bbff

Browse files
authored
Merge pull request #47 from magelogger/php8.2-support-magelogger
PHP 8.2 support.
2 parents 3cd5691 + a3c2318 commit e47bbff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

restclient.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ public function decode_response(){
265265
if(empty($this->decoded_response)){
266266
$format = $this->get_response_format();
267267
if(!array_key_exists($format, $this->options['decoders']))
268-
throw new RestClientException("'${format}' is not a supported ".
268+
throw new RestClientException("'{$format}' is not a supported ".
269269
"format, register a decoder to handle this response.");
270270

271271
$this->decoded_response = call_user_func(

0 commit comments

Comments
 (0)