Fix styling

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

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;

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
{

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;
}

View File

@ -3,8 +3,8 @@
namespace Msr\LaravelBitunixApi\Tests;
use Illuminate\Database\Eloquent\Factories\Factory;
use Orchestra\Testbench\TestCase as Orchestra;
use Msr\LaravelBitunixApi\LaravelBitunixApiServiceProvider;
use Orchestra\Testbench\TestCase as Orchestra;
class TestCase extends Orchestra
{