Skip to content

Commit

Permalink
Do not enforce GroupBegin instance in shiftGroupBegin()
Browse files Browse the repository at this point in the history
  • Loading branch information
pspanja committed Apr 2, 2018
1 parent ac461d9 commit 9c7536e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/Languages/Galach/Parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
use QueryTranslator\Languages\Galach\Values\Node\Prohibited;
use QueryTranslator\Languages\Galach\Values\Node\Query;
use QueryTranslator\Languages\Galach\Values\Node\Term;
use QueryTranslator\Languages\Galach\Values\Token\GroupBegin;
use QueryTranslator\Parsing;
use QueryTranslator\Values\Correction;
use QueryTranslator\Values\Node;
Expand Down Expand Up @@ -288,7 +287,7 @@ protected function shiftTerm(Token $token)
return new Term($token);
}

protected function shiftGroupBegin(GroupBegin $token)
protected function shiftGroupBegin(Token $token)
{
$this->stack->push($token);
}
Expand Down

0 comments on commit 9c7536e

Please sign in to comment.