Completed
Push — master ( da74bc...a18c7e )
by Korvin
12:09
created
src/Bot.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -190,11 +190,11 @@
 block discarded – undo
190 190
 
191 191
         if ($duration) {
192 192
             $this->rtm()->typing($channel);
193
-            $this->getLoop()->addTimer($duration, function () use ($channel, $message, $deferred) {
193
+            $this->getLoop()->addTimer($duration, function() use ($channel, $message, $deferred) {
194 194
                 if ($message) {
195 195
                     $this->rtm()
196 196
                         ->sendMessage($message, $channel)
197
-                        ->done(function (array $result) use ($deferred) {
197
+                        ->done(function(array $result) use ($deferred) {
198 198
                             $this->logger->info('[<bold>BOT.TYP</bold>] Done Typing');
199 199
                             $deferred->resolve($result);
200 200
                         });
Please login to merge, or discard this patch.
src/Slack/ConnectionManager.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
         }
48 48
 
49 49
         // Start listening
50
-        $promise = $this->rtmClient->listen($loop, $payload, $middleware, function(){});
50
+        $promise = $this->rtmClient->listen($loop, $payload, $middleware, function() {});
51 51
 
52 52
         // Handle connecting
53 53
         $promise->done(function($result) use ($loop) {
@@ -73,8 +73,8 @@  discard block
 block discarded – undo
73 73
         // Track how many times pings fail
74 74
         $fails = 0;
75 75
 
76
-        $loop->addPeriodicTimer(10, function () use (&$fails) {
77
-            $this->rtmClient->sendPing()->otherwise(function () use (&$fails) {
76
+        $loop->addPeriodicTimer(10, function() use (&$fails) {
77
+            $this->rtmClient->sendPing()->otherwise(function() use (&$fails) {
78 78
                 $fails++;
79 79
 
80 80
                 if ($fails > 3) {
Please login to merge, or discard this patch.