Skip to content

Commit 3e06b7d

Browse files
committed
Update Parser.php
1 parent 8360a04 commit 3e06b7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/GrammarProcessing/Ebnf/Parser.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ public function __construct(
2727
array $ignoredTokenSymbols,
2828
)
2929
{
30-
$this->ebnfGrammar = new GrammarFactory()->createGrammar();
31-
$this->ebnfInterpretation = new InterpretationFactory()->createInterpretation(
30+
$this->ebnfGrammar = (new GrammarFactory())->createGrammar();
31+
$this->ebnfInterpretation = (new InterpretationFactory())->createInterpretation(
3232
lexicalSymbols: $lexicalSymbols,
3333
syntaxTokenSymbols: $syntaxTokenSymbols,
3434
ignoredTokenSymbols: $ignoredTokenSymbols,

0 commit comments

Comments
 (0)