Test Failed
Pull Request — master (#20)
by Vladislav
02:26
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/GetTradingFeeRate/Tests/GetTradingFeeRateTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,6 +44,6 @@
 block discarded – undo
44 44
        Symbol: INJUSDT
45 45
        Taker Fee Rate: 0.00055
46 46
        Maker Fee Rate: 0.0002
47
-      */
47
+        */
48 48
     }
49 49
 }
50 50
\ No newline at end of file
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.