public function update(TaxRate &$taxRate) { $this->throwValidationErrors($taxRate); $this->taxRateRepository->update($taxRate); }