fix templates

This commit is contained in:
Dennis Eichhorn 2020-12-06 16:14:42 +01:00
parent 4b1d77cc86
commit 9a3d200253

View File

@ -119,6 +119,8 @@ class Grammar extends GrammarAbstract
return $this->deleteComponents;
case QueryType::RANDOM:
return $this->randomComponents;
case queryType::NONE:
return [];
default:
throw new \InvalidArgumentException('Unknown query type.');
}