Fix styling
This commit is contained in:
parent
0503da7349
commit
464f8fec41
|
|
@ -13,7 +13,7 @@ class LaravelBitunixApi implements FutureKLineRequestContract
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
$this->publicFutureClient = new Client([
|
$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,
|
'startTime' => $startTime,
|
||||||
'endTime' => $endTime,
|
'endTime' => $endTime,
|
||||||
'type' => $type,
|
'type' => $type,
|
||||||
]
|
],
|
||||||
]);
|
]);
|
||||||
|
|
||||||
return $response;
|
return $response;
|
||||||
|
|
|
||||||
|
|
@ -2,10 +2,10 @@
|
||||||
|
|
||||||
namespace Msr\LaravelBitunixApi;
|
namespace Msr\LaravelBitunixApi;
|
||||||
|
|
||||||
|
use Msr\LaravelBitunixApi\Commands\LaravelBitunixApiCommand;
|
||||||
use Msr\LaravelBitunixApi\Requests\FutureKLineRequestContract;
|
use Msr\LaravelBitunixApi\Requests\FutureKLineRequestContract;
|
||||||
use Spatie\LaravelPackageTools\Package;
|
use Spatie\LaravelPackageTools\Package;
|
||||||
use Spatie\LaravelPackageTools\PackageServiceProvider;
|
use Spatie\LaravelPackageTools\PackageServiceProvider;
|
||||||
use Msr\LaravelBitunixApi\Commands\LaravelBitunixApiCommand;
|
|
||||||
|
|
||||||
class LaravelBitunixApiServiceProvider extends PackageServiceProvider
|
class LaravelBitunixApiServiceProvider extends PackageServiceProvider
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -7,12 +7,6 @@ use Psr\Http\Message\ResponseInterface;
|
||||||
interface FutureKLineRequestContract
|
interface FutureKLineRequestContract
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @param string $symbol
|
|
||||||
* @param string $interval
|
|
||||||
* @param int $limit
|
|
||||||
* @param int|null $startTime
|
|
||||||
* @param int|null $endTime
|
|
||||||
* @param string $type
|
|
||||||
* @return ResponseInterface
|
* @return ResponseInterface
|
||||||
*
|
*
|
||||||
* interval could be: 1m 5m 15m 30m 1h 2h 4h 6h 8h 12h 1d 3d 1w 1M
|
* interval could be: 1m 5m 15m 30m 1h 2h 4h 6h 8h 12h 1d 3d 1w 1M
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,8 @@
|
||||||
namespace Msr\LaravelBitunixApi\Tests;
|
namespace Msr\LaravelBitunixApi\Tests;
|
||||||
|
|
||||||
use Illuminate\Database\Eloquent\Factories\Factory;
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||||
use Orchestra\Testbench\TestCase as Orchestra;
|
|
||||||
use Msr\LaravelBitunixApi\LaravelBitunixApiServiceProvider;
|
use Msr\LaravelBitunixApi\LaravelBitunixApiServiceProvider;
|
||||||
|
use Orchestra\Testbench\TestCase as Orchestra;
|
||||||
|
|
||||||
class TestCase extends Orchestra
|
class TestCase extends Orchestra
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue