Passed
Push — master ( 5050b5...1b5ca4 )
by Vladislav
03:40 queued 01:46
created
Channels/Spot/PublicChannels/OrderBook/Entities/OrderBookAbstract.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
         $askCollection = new EntityCollection();
162 162
 
163 163
         if (!empty($asks)) {
164
-            array_map(function ($askItem) use ($askCollection) {
164
+            array_map(function($askItem) use ($askCollection) {
165 165
                 $askCollection->push(ResponseDtoBuilder::make(OrderBookPriceDTO::class, $askItem));
166 166
             }, $asks);
167 167
         }
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
         $bidCollection = new EntityCollection();
189 189
 
190 190
         if (!empty($bids)) {
191
-            array_map(function ($bidItem) use ($bidCollection) {
191
+            array_map(function($bidItem) use ($bidCollection) {
192 192
                 $bidCollection->push(ResponseDtoBuilder::make(OrderBookPriceDTO::class, $bidItem));
193 193
             }, $bids);
194 194
         }
Please login to merge, or discard this patch.
Derivatives/PublicChannels/OrderBook/Entities/OrderBookAbstract.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
         $askCollection = new EntityCollection();
140 140
 
141 141
         if (!empty($asks)) {
142
-            array_map(function ($askItem) use ($askCollection) {
142
+            array_map(function($askItem) use ($askCollection) {
143 143
                 $askCollection->push(ResponseDtoBuilder::make(OrderBookPriceAbstract::class, $askItem));
144 144
             }, $asks);
145 145
         }
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
         $bidCollection = new EntityCollection();
159 159
 
160 160
         if (!empty($bids)) {
161
-            array_map(function ($bidItem) use ($bidCollection) {
161
+            array_map(function($bidItem) use ($bidCollection) {
162 162
                 $bidCollection->push(ResponseDtoBuilder::make(OrderBookPriceAbstract::class, $bidItem));
163 163
             }, $bids);
164 164
         }
Please login to merge, or discard this patch.
src/WebSockets/Builders/WebSocketsBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 class WebSocketsBuilder implements IFabricInterface
11 11
 {
12 12
 
13
-    public static function make(string $className, IWebSocketArgumentInterface $arguments = null,  ChannelHandler $channelHandler = null, int $mode = 0, int $wsClientTimeout = IWebSocketArgumentInterface::DEFAULT_SOCKET_CLIENT_TIMEOUT): IWebSocketsChannelInterface
13
+    public static function make(string $className, IWebSocketArgumentInterface $arguments = null, ChannelHandler $channelHandler = null, int $mode = 0, int $wsClientTimeout = IWebSocketArgumentInterface::DEFAULT_SOCKET_CLIENT_TIMEOUT): IWebSocketsChannelInterface
14 14
     {
15 15
         if (!in_array(IWebSocketsChannelInterface::class, class_implements($className))) {
16 16
             throw new \Exception("This websocket-channel {$className} must implement the interface " . IResponseHandlerInterface::class . "!");
Please login to merge, or discard this patch.