Completed
Push — master ( 6daf81...e8654c )
by Dan
02:19
created
src/Yabot.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
     {
181 181
         if ($interval = $this->get('connection_monitor.interval')) {
182 182
             $this->getLog()->info("Monitoring websocket connection every $interval seconds.");
183
-            $this->loop->addPeriodicTimer($interval, function () {
183
+            $this->loop->addPeriodicTimer($interval, function() {
184 184
                 static $pong = true;
185 185
                 if (!$pong) {
186 186
                     $this->getLog()->error('Connection failed: no pong!');
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
                 }
189 189
                 $this->getSlack()->getRealTimeClient()->ping()
190 190
                     ->then(
191
-                        function (Payload $payload) use (&$pong) {
191
+                        function(Payload $payload) use (&$pong) {
192 192
                             $this->getLog()->info($payload->toJson());
193 193
                             $pong = true;
194 194
                         }
Please login to merge, or discard this patch.