Passed
Pull Request — master (#109)
by Christoffer
02:24
created
src/Language/LanguageProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -35,14 +35,14 @@  discard block
 block discarded – undo
35 35
      */
36 36
     public function register()
37 37
     {
38
-        $this->container->add(NodeBuilderInterface::class, function () {
38
+        $this->container->add(NodeBuilderInterface::class, function() {
39 39
             return new NodeBuilder(SupportedBuilders::get());
40 40
         });
41 41
 
42 42
         $this->container->add(ParserInterface::class, Parser::class, true/* $shared */)
43 43
             ->withArgument(NodeBuilderInterface::class);
44 44
 
45
-        $this->container->add(LexerInterface::class, function () {
45
+        $this->container->add(LexerInterface::class, function() {
46 46
             return new Lexer(SupportedReaders::get());
47 47
         });
48 48
 
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
 
52 52
         $this->container->add(DefinitionBuilderInterface::class, DefinitionBuilder::class, true/* $shared */)
53 53
             ->withArguments([
54
-                function (NamedTypeNode $node) {
54
+                function(NamedTypeNode $node) {
55 55
                     throw new InvalidTypeException(sprintf('Type "%s" not found in document.', $node->getNameValue()));
56 56
                 },
57 57
                 CacheInterface::class,
Please login to merge, or discard this patch.