Исправления

This commit is contained in:
Arsen Mirzaev Tatyano-Muradovich 2021-04-12 05:27:43 +10:00
parent b3a5b7b51f
commit cbc26916ea

View File

@ -947,7 +947,7 @@ class Query extends Component implements QueryInterface
{ {
// Инициализация // Инициализация
$this->in ?? $this->in = $this->collection ?? throw new Exception('Не найдена коллекция'); $this->in ?? $this->in = $this->collection ?? throw new Exception('Не найдена коллекция');
$this->collection ?? $this->collection = self::checkArrayAndConvert($this->for); $this->collection ?? $this->collection = $this->in;
$data = Serializer::encode($columns); $data = Serializer::encode($columns);