Passed
Push — master ( c3889d...5b6234 )
by Quang
02:48
created
src/GraphQLServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -25,17 +25,17 @@
 block discarded – undo
25 25
         $this->validateConfig($config);
26 26
 
27 27
         // Bind things to the container
28
-        $this->app->singleton(GraphQLService::class, function (Application $app) use ($config) {
28
+        $this->app->singleton(GraphQLService::class, function(Application $app) use ($config) {
29 29
             $processor = $config['processor'] ?? Processor::class;
30 30
 
31 31
             return new GraphQLService(new $processor(new $config['schema']), $app->make(CacheRepository::class));
32 32
         });
33 33
 
34
-        $this->app->singleton(TypeResolverInterface::class, function () use ($config) {
34
+        $this->app->singleton(TypeResolverInterface::class, function() use ($config) {
35 35
             return new $config['type_resolver']();
36 36
         });
37 37
 
38
-        $this->app->bind(GraphiQLTokenMiddleware::class, function () use ($config) {
38
+        $this->app->bind(GraphiQLTokenMiddleware::class, function() use ($config) {
39 39
             return new GraphiQLTokenMiddleware($config['enable_graphiql'], $config['graphiql_token'] ?? null);
40 40
         });
41 41
     }
Please login to merge, or discard this patch.