Update PhyreApiSDK.php

This commit is contained in:
Bozhidar Slaveykov 2024-04-06 19:40:27 +03:00
parent 7a0e333e00
commit f0d88dfd7d

View file

@ -1,6 +1,8 @@
<?php <?php
namespace App\ApiSDK; namespace App\ApiSDK;
use function AlibabaCloud\Client\json;
class PhyreApiSDK class PhyreApiSDK
{ {
public $ip; public $ip;
@ -38,6 +40,8 @@ class PhyreApiSDK
$response = curl_exec($ch); $response = curl_exec($ch);
curl_close($ch); curl_close($ch);
$response = json_decode($response, true);
return $response; return $response;
} }