@@ -35,14 +35,14 @@ discard block |
||
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 |
||
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, |