Skip to content

Commit 3450d01

Browse files
committed
update
1 parent 4f541ff commit 3450d01

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/PrivateApi/Margin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ public function lend(array $params)
174174
*/
175175
public function cancelLend($orderId)
176176
{
177-
$response = $this->call(Request::METHOD_DELETE, '/api/v1/margin/lend/'.$orderId);
177+
$response = $this->call(Request::METHOD_DELETE, '/api/v1/margin/lend/' . $orderId);
178178
return $response->getApiData();
179179
}
180180

tests/MarginTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ public function testRepayAll(Margin $api)
145145
{
146146
$params = [
147147
'currency' => 'USDT',
148-
'sequence' => 'RECENTLY_EXPIRE_FIRST',
148+
'sequence' => 'RECENTLY_EXPIRE_FIRST',
149149
'size' => 1,
150150
];
151151
$data = $api->repayAll($params);
@@ -166,7 +166,7 @@ public function testRepaySingle(Margin $api)
166166
$params = [
167167
'currency' => 'USDT',
168168
'tradeId' => '5da5a4f0f943c040c2f8501e',
169-
'size' =>1
169+
'size' => 1,
170170
];
171171
$data = $api->repaySingle($params);
172172
$this->assertNotNull(1);

0 commit comments

Comments
 (0)