/** * @return int */ private function move() { $this->add(); return Product::updateAll(['main_category_id' => $this->categoryId], ['id' => $this->items]); }
/** * @return int */ private function move() { $this->add(); return Product::updateAll(['main_category_id' => $this->categoryId], ['id' => $this->items]); }