Completed
Push — master ( e37bea...cec12b )
by Timo
03:08
created
src/Tidal/WampWatch/MonitorTrait.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -74,10 +74,10 @@  discard block
 block discarded – undo
74 74
      */
75 75
     public function start()
76 76
     {
77
-        $this->getMetaSubscriptionCollection()->subscribe()->done(function () {
77
+        $this->getMetaSubscriptionCollection()->subscribe()->done(function() {
78 78
             $this->checkStarted();
79 79
         });
80
-        $this->callInitialProcedure()->done(function () {
80
+        $this->callInitialProcedure()->done(function() {
81 81
             $this->checkStarted();
82 82
         });
83 83
 
@@ -160,14 +160,14 @@  discard block
 block discarded – undo
160 160
     {
161 161
         if (!isset($this->initialCallProcedure) || !isset($this->initialCallCallback)) {
162 162
             $this->initialCallDone = true;
163
-            $resolver = function (callable $resolve) {
163
+            $resolver = function(callable $resolve) {
164 164
                 $resolve();
165 165
             };
166 166
 
167 167
             return new  Promise($resolver);
168 168
         }
169 169
 
170
-        return $this->session->call($this->initialCallProcedure, [])->then(function ($res) {
170
+        return $this->session->call($this->initialCallProcedure, [])->then(function($res) {
171 171
             $this->initialCallDone = true;
172 172
             $cb = $this->initialCallCallback;
173 173
             $cb($res);
Please login to merge, or discard this patch.