Completed
Branch master (69b403)
by Colin
03:21
created
Category
src/ServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,11 +42,11 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/LumenServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,11 +46,11 @@
 block discarded – undo
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
 	}
Please login to merge, or discard this patch.