@@ -19,7 +19,7 @@ |
||
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(KlineResponseItem::class, $item)); |
24 | 24 | }, $data['list']); |
25 | 25 | } |
@@ -110,10 +110,10 @@ discard block |
||
110 | 110 | $lotSizeFilterCollection = new EntityCollection(); |
111 | 111 | |
112 | 112 | $this->settleCoin = $data['settleCoin']; |
113 | - $this->fundingInterval = (int)$data['fundingInterval']; |
|
114 | - $this->unifiedMarginTrade = (bool)$data['unifiedMarginTrade']; |
|
113 | + $this->fundingInterval = (int) $data['fundingInterval']; |
|
114 | + $this->unifiedMarginTrade = (bool) $data['unifiedMarginTrade']; |
|
115 | 115 | $this->priceScale = $data['priceScale'] ?? 0.0; |
116 | - $this->deliveryFeeRate = (float)$data['deliveryFeeRate']; |
|
116 | + $this->deliveryFeeRate = (float) $data['deliveryFeeRate']; |
|
117 | 117 | $this->deliveryTime = DateTimeHelper::makeFromTimestamp($data['deliveryTime']); |
118 | 118 | $this->launchTime = DateTimeHelper::makeFromTimestamp($data['launchTime']); |
119 | 119 | $this->quoteCoin = $data['quoteCoin']; |
@@ -124,19 +124,19 @@ discard block |
||
124 | 124 | $this->nextPageCursor = $data['nextPageCursor'] ?? null; |
125 | 125 | |
126 | 126 | if (!empty($data['priceFilter'])) { |
127 | - array_map(function ($priceFilter) use ($priceFilterCollection) { |
|
127 | + array_map(function($priceFilter) use ($priceFilterCollection) { |
|
128 | 128 | $priceFilterCollection->push(ResponseDtoBuilder::make(PriceFilterResponseItem::class, $priceFilter)); |
129 | 129 | }, [$data['priceFilter']]); |
130 | 130 | } |
131 | 131 | |
132 | 132 | if (!empty($data['leverageFilter'])) { |
133 | - array_map(function ($leverageFilterItem) use ($leverageFilterCollection) { |
|
133 | + array_map(function($leverageFilterItem) use ($leverageFilterCollection) { |
|
134 | 134 | $leverageFilterCollection->push(ResponseDtoBuilder::make(LeverageFilterResponseItem::class, $leverageFilterItem)); |
135 | 135 | }, [$data['leverageFilter']]); |
136 | 136 | } |
137 | 137 | |
138 | 138 | if (!empty($data['lotSizeFilter'])) { |
139 | - array_map(function ($lotSizeFilterItem) use ($lotSizeFilterCollection) { |
|
139 | + array_map(function($lotSizeFilterItem) use ($lotSizeFilterCollection) { |
|
140 | 140 | $lotSizeFilterCollection->push(ResponseDtoBuilder::make(LotSizeFilterResponseItem::class, $lotSizeFilterItem)); |
141 | 141 | }, [$data['lotSizeFilter']]); |
142 | 142 | } |
@@ -17,7 +17,7 @@ |
||
17 | 17 | $list = new EntityCollection(); |
18 | 18 | |
19 | 19 | if (!empty($data['list'])) { |
20 | - array_map(function ($item) use ($list) { |
|
20 | + array_map(function($item) use ($list) { |
|
21 | 21 | $list->push(ResponseDtoBuilder::make(InstrumentInfoResponseItem::class, $item)); |
22 | 22 | }, $data['list']); |
23 | 23 | } |
@@ -23,7 +23,7 @@ |
||
23 | 23 | $list = new EntityCollection(); |
24 | 24 | |
25 | 25 | if (!empty($data['list'])) { |
26 | - array_map(function ($item) use ($list) { |
|
26 | + array_map(function($item) use ($list) { |
|
27 | 27 | $list->push(ResponseDtoBuilder::make(RiskLimitsResponseItem::class, $item)); |
28 | 28 | }, $data['list']); |
29 | 29 | } |