Passed
Branch master (4129a4)
by Hugo
03:41 queued 01:47
created
Category
src/GraphQLServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -42,17 +42,17 @@
 block discarded – undo
42 42
 
43 43
         $this->validateConfig($config);
44 44
 
45
-        $this->app->singleton(GraphQLService::class, function (Application $app) use ($config) {
45
+        $this->app->singleton(GraphQLService::class, function(Application $app) use ($config) {
46 46
             $processor = $config['processor'] ?: Processor::class;
47 47
 
48 48
             return new GraphQLService(new $processor(new $config['schema']), $app->make(CacheRepository::class));
49 49
         });
50 50
 
51
-        $this->app->singleton(TypeResolverInterface::class, function () use ($config) {
51
+        $this->app->singleton(TypeResolverInterface::class, function() use ($config) {
52 52
             return new $config['type_resolver']();
53 53
         });
54 54
 
55
-        $this->app->bind(GraphiQLTokenMiddleware::class, function () use ($config) {
55
+        $this->app->bind(GraphiQLTokenMiddleware::class, function() use ($config) {
56 56
             return new GraphiQLTokenMiddleware($config['enable_graphiql'], $config['graphiql_token']);
57 57
         });
58 58
     }
Please login to merge, or discard this patch.