@@ -74,10 +74,10 @@ discard block |
||
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 |
||
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); |