@@ -113,8 +113,8 @@ |
||
| 113 | 113 | |
| 114 | 114 | $onStop = $this->onStop; |
| 115 | 115 | $onStop() |
| 116 | - ->then(function () use (&$deferred) { |
|
| 117 | - $this->ariClient->onClose(function () use (&$deferred) { |
|
| 116 | + ->then(function() use (&$deferred) { |
|
| 117 | + $this->ariClient->onClose(function() use (&$deferred) { |
|
| 118 | 118 | $this->eventLoop->stop(); |
| 119 | 119 | $deferred->resolve(); |
| 120 | 120 | }); |