@@ -42,11 +42,11 @@ |
||
| 42 | 42 | public function register() { |
| 43 | 43 | $app = $this->app; |
| 44 | 44 | |
| 45 | - $app->singleton('elasticsearch.factory', function ($app) { |
|
| 45 | + $app->singleton('elasticsearch.factory', function($app) { |
|
| 46 | 46 | return new Factory(); |
| 47 | 47 | }); |
| 48 | 48 | |
| 49 | - $app->singleton('elasticsearch', function ($app) { |
|
| 49 | + $app->singleton('elasticsearch', function($app) { |
|
| 50 | 50 | return new Manager($app, $app['elasticsearch.factory']); |
| 51 | 51 | }); |
| 52 | 52 | |
@@ -46,11 +46,11 @@ |
||
| 46 | 46 | public function register() { |
| 47 | 47 | $app = $this->app; |
| 48 | 48 | |
| 49 | - $app->singleton('elasticsearch.factory', function ($app) { |
|
| 49 | + $app->singleton('elasticsearch.factory', function($app) { |
|
| 50 | 50 | return new Factory(); |
| 51 | 51 | }); |
| 52 | 52 | |
| 53 | - $app->singleton('elasticsearch', function ($app) { |
|
| 53 | + $app->singleton('elasticsearch', function($app) { |
|
| 54 | 54 | return new LumenManager($app, $app['elasticsearch.factory']); |
| 55 | 55 | }); |
| 56 | 56 | } |