Fix styling

This commit is contained in:
mahdimsr authored and github-actions[bot] committed 2025-09-26 12:53:15 +00:00
1 parent 0503da7349
commit 464f8fec41
4 files changed
+9 -15

No files matched your search

+2 -2
View File
@@ -13,7 +13,7 @@ class LaravelBitunixApi implements FutureKLineRequestContract
public function __construct()
{
$this->publicFutureClient = new Client([
'base_uri' => config('bitunix-api.future_base_uri') . '/api/v1/futures/market/',
'base_uri' => config('bitunix-api.future_base_uri').'/api/v1/futures/market/',
]);
}
@@ -27,7 +27,7 @@ class LaravelBitunixApi implements FutureKLineRequestContract
'startTime' => $startTime,
'endTime' => $endTime,
'type' => $type,
]
],
]);
return $response;
+1 -1
View File
@@ -2,10 +2,10 @@
namespace Msr\LaravelBitunixApi;
use Msr\LaravelBitunixApi\Commands\LaravelBitunixApiCommand;
use Msr\LaravelBitunixApi\Requests\FutureKLineRequestContract;
use Spatie\LaravelPackageTools\Package;
use Spatie\LaravelPackageTools\PackageServiceProvider;
use Msr\LaravelBitunixApi\Commands\LaravelBitunixApiCommand;
class LaravelBitunixApiServiceProvider extends PackageServiceProvider
{
+5 -11
View File
@@ -7,12 +7,6 @@ use Psr\Http\Message\ResponseInterface;
interface FutureKLineRequestContract
{
/**
* @param string $symbol
* @param string $interval
* @param int $limit
* @param int|null $startTime
* @param int|null $endTime
* @param string $type
* @return ResponseInterface
*
* interval could be: 1m 5m 15m 30m 1h 2h 4h 6h 8h 12h 1d 3d 1w 1M
@@ -22,9 +16,9 @@ interface FutureKLineRequestContract
* type could be: LAST_PRICE, MARK_PRICE
*/
public function getFutureKline(string $symbol,
string $interval,
int $limit = 100,
?int $startTime = null,
?int $endTime = null,
string $type = 'LAST_PRICE'): ResponseInterface;
string $interval,
int $limit = 100,
?int $startTime = null,
?int $endTime = null,
string $type = 'LAST_PRICE'): ResponseInterface;
}