Completed
Push — master ( 69b403...a82f99 )
by Colin
02:59 queued 12s
created
src/ServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -43,15 +43,15 @@
 block discarded – undo
43 43
     {
44 44
         $app = $this->app;
45 45
 
46
-        $app->singleton('elasticsearch.factory', function ($app) {
46
+        $app->singleton('elasticsearch.factory', function($app) {
47 47
             return new Factory();
48 48
         });
49 49
 
50
-        $app->singleton('elasticsearch', function ($app) {
50
+        $app->singleton('elasticsearch', function($app) {
51 51
             return new Manager($app, $app['elasticsearch.factory']);
52 52
         });
53 53
 
54
-        $app->singleton(Client::class, function ($app) {
54
+        $app->singleton(Client::class, function($app) {
55 55
             return $app['elasticsearch']->connection();
56 56
         });
57 57
     }
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
@@ -29,11 +29,11 @@
 block discarded – undo
29 29
     {
30 30
         $app = $this->app;
31 31
 
32
-        $app->singleton('elasticsearch.factory', function ($app) {
32
+        $app->singleton('elasticsearch.factory', function($app) {
33 33
             return new Factory();
34 34
         });
35 35
 
36
-        $app->singleton('elasticsearch', function ($app) {
36
+        $app->singleton('elasticsearch', function($app) {
37 37
             return new LumenManager($app, $app['elasticsearch.factory']);
38 38
         });
39 39
     }
Please login to merge, or discard this patch.