@@ -18,7 +18,7 @@ |
||
| 18 | 18 | { |
| 19 | 19 | public function register(Container $pimple) |
| 20 | 20 | { |
| 21 | - $pimple['topic'] = function ($app) { |
|
| 21 | + $pimple['topic'] = function($app) { |
|
| 22 | 22 | return new Client($app); |
| 23 | 23 | }; |
| 24 | 24 | } |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | */ |
| 25 | 25 | public function register(Container $pimple) |
| 26 | 26 | { |
| 27 | - $pimple['config'] = function ($app) { |
|
| 27 | + $pimple['config'] = function($app) { |
|
| 28 | 28 | return new Config($app->getConfig()); |
| 29 | 29 | }; |
| 30 | 30 | } |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | */ |
| 25 | 25 | public function register(Container $pimple) |
| 26 | 26 | { |
| 27 | - $pimple['http_client'] = function ($app) { |
|
| 27 | + $pimple['http_client'] = function($app) { |
|
| 28 | 28 | return new Client($app['config']->get('http', [])); |
| 29 | 29 | }; |
| 30 | 30 | } |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | */ |
| 22 | 22 | public function register(Container $pimple) |
| 23 | 23 | { |
| 24 | - $pimple['image'] = function ($app) { |
|
| 24 | + $pimple['image'] = function($app) { |
|
| 25 | 25 | return new Client($app); |
| 26 | 26 | }; |
| 27 | 27 | } |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | */ |
| 22 | 22 | public function register(Container $pimple) |
| 23 | 23 | { |
| 24 | - $pimple['text'] = function ($app) { |
|
| 24 | + $pimple['text'] = function($app) { |
|
| 25 | 25 | return new Client($app); |
| 26 | 26 | }; |
| 27 | 27 | } |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | */ |
| 22 | 22 | public function register(Container $pimple) |
| 23 | 23 | { |
| 24 | - $pimple['dnnlm'] = function ($app) { |
|
| 24 | + $pimple['dnnlm'] = function($app) { |
|
| 25 | 25 | return new Client($app); |
| 26 | 26 | }; |
| 27 | 27 | } |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | */ |
| 22 | 22 | public function register(Container $pimple) |
| 23 | 23 | { |
| 24 | - $pimple['simnet'] = function ($app) { |
|
| 24 | + $pimple['simnet'] = function($app) { |
|
| 25 | 25 | return new Client($app); |
| 26 | 26 | }; |
| 27 | 27 | } |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | */ |
| 22 | 22 | public function register(Container $pimple) |
| 23 | 23 | { |
| 24 | - $pimple['wordEmbedding'] = function ($app) { |
|
| 24 | + $pimple['wordEmbedding'] = function($app) { |
|
| 25 | 25 | return new Client($app); |
| 26 | 26 | }; |
| 27 | 27 | } |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | */ |
| 22 | 22 | public function register(Container $pimple) |
| 23 | 23 | { |
| 24 | - $pimple['lexer'] = function ($app) { |
|
| 24 | + $pimple['lexer'] = function($app) { |
|
| 25 | 25 | return new Client($app); |
| 26 | 26 | }; |
| 27 | 27 | } |