We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8360a04 commit 3e06b7dCopy full SHA for 3e06b7d
src/GrammarProcessing/Ebnf/Parser.php
@@ -27,8 +27,8 @@ public function __construct(
27
array $ignoredTokenSymbols,
28
)
29
{
30
- $this->ebnfGrammar = new GrammarFactory()->createGrammar();
31
- $this->ebnfInterpretation = new InterpretationFactory()->createInterpretation(
+ $this->ebnfGrammar = (new GrammarFactory())->createGrammar();
+ $this->ebnfInterpretation = (new InterpretationFactory())->createInterpretation(
32
lexicalSymbols: $lexicalSymbols,
33
syntaxTokenSymbols: $syntaxTokenSymbols,
34
ignoredTokenSymbols: $ignoredTokenSymbols,
0 commit comments