getCategoryIdFromName($row, 'item'); } if (empty($row['tax_id']) && !empty($row['tax_rate'])) { $row['tax_id'] = $this->getTaxIdFromRate($row); } return $row; } public function rules(): array { return (new Request())->rules(); } }