@@ -25,7 +25,7 @@ |
||
| 25 | 25 | */ |
| 26 | 26 | public function register(Container $pimple) |
| 27 | 27 | { |
| 28 | - $pimple['chat'] = function ($app) { |
|
| 28 | + $pimple['chat'] = function($app) { |
|
| 29 | 29 | return new Client($app); |
| 30 | 30 | }; |
| 31 | 31 | } |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | */ |
| 26 | 26 | public function register(Container $pimple) |
| 27 | 27 | { |
| 28 | - $pimple['department'] = function ($app) { |
|
| 28 | + $pimple['department'] = function($app) { |
|
| 29 | 29 | return new Client($app); |
| 30 | 30 | }; |
| 31 | 31 | } |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | { |
| 41 | 41 | parent::__construct($values); |
| 42 | 42 | |
| 43 | - $this['config'] = function () use ($config) { |
|
| 43 | + $this['config'] = function() use ($config) { |
|
| 44 | 44 | return new Collection($config); |
| 45 | 45 | }; |
| 46 | 46 | |
@@ -57,8 +57,8 @@ discard block |
||
| 57 | 57 | return $this; |
| 58 | 58 | } |
| 59 | 59 | |
| 60 | - $middleware = function (callable $handler) { |
|
| 61 | - return function (RequestInterface $request, array $options) use ($handler) { |
|
| 60 | + $middleware = function(callable $handler) { |
|
| 61 | + return function(RequestInterface $request, array $options) use ($handler) { |
|
| 62 | 62 | if ($this->app['access_token']) { |
| 63 | 63 | parse_str($request->getUri()->getQuery(), $query); |
| 64 | 64 | |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | return $this; |
| 86 | 86 | } |
| 87 | 87 | |
| 88 | - $middleware = Middleware::retry(function ($retries, RequestInterface $request, ResponseInterface $response = null) { |
|
| 88 | + $middleware = Middleware::retry(function($retries, RequestInterface $request, ResponseInterface $response = null) { |
|
| 89 | 89 | if (is_null($response) || $retries < 1) { |
| 90 | 90 | return false; |
| 91 | 91 | } |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | */ |
| 26 | 26 | public function register(Container $pimple) |
| 27 | 27 | { |
| 28 | - $pimple['user'] = function ($app) { |
|
| 28 | + $pimple['user'] = function($app) { |
|
| 29 | 29 | return new Client($app); |
| 30 | 30 | }; |
| 31 | 31 | } |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | */ |
| 26 | 26 | public function register(Container $pimple) |
| 27 | 27 | { |
| 28 | - $pimple['report'] = function ($app) { |
|
| 28 | + $pimple['report'] = function($app) { |
|
| 29 | 29 | return new Client($app); |
| 30 | 30 | }; |
| 31 | 31 | } |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | */ |
| 26 | 26 | public function register(Container $pimple) |
| 27 | 27 | { |
| 28 | - $pimple['role'] = function ($app) { |
|
| 28 | + $pimple['role'] = function($app) { |
|
| 29 | 29 | return new Client($app); |
| 30 | 30 | }; |
| 31 | 31 | } |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | */ |
| 26 | 26 | public function register(Container $pimple) |
| 27 | 27 | { |
| 28 | - $pimple['blackboard'] = function ($app) { |
|
| 28 | + $pimple['blackboard'] = function($app) { |
|
| 29 | 29 | return new Client($app); |
| 30 | 30 | }; |
| 31 | 31 | } |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | */ |
| 26 | 26 | public function register(Container $pimple) |
| 27 | 27 | { |
| 28 | - $pimple['microapp'] = function ($app) { |
|
| 28 | + $pimple['microapp'] = function($app) { |
|
| 29 | 29 | return new Client($app); |
| 30 | 30 | }; |
| 31 | 31 | } |