protected function updateQty($rawId, $qty) { if ($qty <= 0) { return $this->remove($rawId); } return $this->updateRow($rawId, ['qty' => $qty]); }