Skip to content

Commit a3c2318

Browse files
committed
Php8.2 support. Fixed the issue when the dollar sign ($) is outside of the curly braces.
1 parent 3cd5691 commit a3c2318

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)