mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-09 05:38:39 +00:00
fix templates
This commit is contained in:
parent
4b1d77cc86
commit
9a3d200253
|
|
@ -119,6 +119,8 @@ class Grammar extends GrammarAbstract
|
||||||
return $this->deleteComponents;
|
return $this->deleteComponents;
|
||||||
case QueryType::RANDOM:
|
case QueryType::RANDOM:
|
||||||
return $this->randomComponents;
|
return $this->randomComponents;
|
||||||
|
case queryType::NONE:
|
||||||
|
return [];
|
||||||
default:
|
default:
|
||||||
throw new \InvalidArgumentException('Unknown query type.');
|
throw new \InvalidArgumentException('Unknown query type.');
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user