Test Failed
Push — master ( f1d563...1fab6c )
by Vladislav
10:20 queued 07:53
created
Contract/Account/GetTradingFeeRate/Response/GetTradingFeeRateResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
         $list = new EntityCollection();
21 21
 
22 22
         if (!empty($data['list'])) {
23
-            array_map(function ($item) use ($list) {
23
+            array_map(function($item) use ($list) {
24 24
                 $list->push(ResponseDtoBuilder::make(GetTradingFeeRateResponseItem::class, $item));
25 25
             }, $data['list']);
26 26
         }
Please login to merge, or discard this patch.
Contract/Account/WalletBalance/Response/WalletBalanceResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
         $list = new EntityCollection();
20 20
 
21 21
         if (!empty($data['list'])) {
22
-            array_map(function ($item) use ($list) {
22
+            array_map(function($item) use ($list) {
23 23
                 $list->push(ResponseDtoBuilder::make(WalletBalanceResponseItem::class, $item));
24 24
             }, $data['list']);
25 25
         }
Please login to merge, or discard this patch.
src/Derivatives/Contract/Account/WalletBalance/Tests/WalletBalanceTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 {
12 12
     public function testSuccessEndpoint()
13 13
     {
14
-        $bybit = (new BybitAPI())->setCredentials('https://api-testnet.bybit.com','fL02oi5qo8i2jDxlum', 'Ne1EE35XTprIWrId9vGEAc1ZYJTmodA4qFzZ');
14
+        $bybit = (new BybitAPI())->setCredentials('https://api-testnet.bybit.com', 'fL02oi5qo8i2jDxlum', 'Ne1EE35XTprIWrId9vGEAc1ZYJTmodA4qFzZ');
15 15
 
16 16
         $response = $bybit->privateEndpoint(WalletBalance::class, (new WalletBalanceRequest()))->execute();
17 17
 
Please login to merge, or discard this patch.
Contract/Order/CancelAllOrder/Response/CancelAllOrderResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
         $list = new EntityCollection();
20 20
 
21 21
         if (!empty($data['list'])) {
22
-            array_map(function ($item) use ($list) {
22
+            array_map(function($item) use ($list) {
23 23
                 $list->push(ResponseDtoBuilder::make(CancelAllOrderResponseItem::class, $item));
24 24
             }, $data['list']);
25 25
         }
Please login to merge, or discard this patch.
src/Derivatives/Contract/Order/CancelAllOrder/Tests/CancelAllOrderTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 {
14 14
     public function testSuccessEndpoint()
15 15
     {
16
-        $bybit = (new BybitAPI())->setCredentials('https://api-testnet.bybit.com','fL02oi5qo8i2jDxlum', 'Ne1EE35XTprIWrId9vGEAc1ZYJTmodA4qFzZ');
16
+        $bybit = (new BybitAPI())->setCredentials('https://api-testnet.bybit.com', 'fL02oi5qo8i2jDxlum', 'Ne1EE35XTprIWrId9vGEAc1ZYJTmodA4qFzZ');
17 17
 
18 18
         $response = $bybit->privateEndpoint(CancelAllOrder::class, (new CancelAllOrderRequest())->setSymbol('BTCUSDT'))->execute();
19 19
 
Please login to merge, or discard this patch.
Contract/Order/GetOpenOrders/Response/GetOpenOrdersResponseItem.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -244,8 +244,8 @@
 block discarded – undo
244 244
             ->setLastPriceOnCreated($data['lastPriceOnCreated'])
245 245
             ->setCloseOnTrigger($data['closeOnTrigger'])
246 246
             ->setTpslMode($data['tpslMode'])
247
-            ->setTpLimitPrice((float)$data['tpLimitPrice'])
248
-            ->setSlLimitPrice((float)$data['slLimitPrice'])
247
+            ->setTpLimitPrice((float) $data['tpLimitPrice'])
248
+            ->setSlLimitPrice((float) $data['slLimitPrice'])
249 249
             ->setSmpType($data['smpType'])
250 250
             ->setSmpGroup($data['smpGroup'])
251 251
             ->setSmpOrderId($data['smpOrderId']);
Please login to merge, or discard this patch.
Derivatives/Contract/Order/GetOpenOrders/Response/GetOpenOrdersResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
         $list = new EntityCollection();
35 35
 
36 36
         if (!empty($data['list'])) {
37
-            array_map(function ($item) use ($list) {
37
+            array_map(function($item) use ($list) {
38 38
                 $list->push(ResponseDtoBuilder::make(GetOpenOrdersResponseItem::class, $item));
39 39
             }, $data['list']);
40 40
         }
Please login to merge, or discard this patch.
Derivatives/Contract/Order/GetOrderList/Response/GetOrderListResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
         $list = new EntityCollection();
36 36
 
37 37
         if (!empty($data['list'])) {
38
-            array_map(function ($item) use ($list) {
38
+            array_map(function($item) use ($list) {
39 39
                 $list->push(ResponseDtoBuilder::make(GetOrderListResponseItem::class, $item));
40 40
             }, $data['list']);
41 41
         }
Please login to merge, or discard this patch.
Contract/Position/GetClosedPnL/Response/GetClosedPnLResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
         $list = new EntityCollection();
28 28
 
29 29
         if (!empty($data['list'])) {
30
-            array_map(function ($item) use ($list) {
30
+            array_map(function($item) use ($list) {
31 31
                 $list->push(ResponseDtoBuilder::make(GetClosedPnLResponseItem::class, $item));
32 32
             }, $data['list']);
33 33
         }
Please login to merge, or discard this patch.