Completed
Push — master ( e84b2f...4b1e2e )
by Sam
03:42 queued 01:45
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.
tests/MiddlewareTestCase.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
             $request = new Request();
23 23
         }
24 24
 
25
-        $this->assertInstanceOf(Response::class, $middleware->handle($request, function () {
25
+        $this->assertInstanceOf(Response::class, $middleware->handle($request, function() {
26 26
             return new Response();
27 27
         }));
28 28
     }
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
             $request = new Request();
38 38
         }
39 39
 
40
-        $middleware->handle($request, function () {
40
+        $middleware->handle($request, function() {
41 41
             return new Response();
42 42
         });
43 43
 
Please login to merge, or discard this patch.
src/Commands/UpdateSchemaLockCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
      *
21 21
      * @var string
22 22
      */
23
-    public const INTROSPECTION_GRAPHQL =  __DIR__ . '/../../resources/graphql/Introspection.graphql';
23
+    public const INTROSPECTION_GRAPHQL = __DIR__ . '/../../resources/graphql/Introspection.graphql';
24 24
 
25 25
     /**
26 26
      * @var string
Please login to merge, or discard this patch.