diff --git a/app/code/Magento/Quote/Observer/Frontend/Quote/Address/VatValidator.php b/app/code/Magento/Quote/Observer/Frontend/Quote/Address/VatValidator.php index bfb20d1b2696f..91677f92bea6e 100644 --- a/app/code/Magento/Quote/Observer/Frontend/Quote/Address/VatValidator.php +++ b/app/code/Magento/Quote/Observer/Frontend/Quote/Address/VatValidator.php @@ -38,11 +38,11 @@ class VatValidator public function __construct( Address $customerAddress, Vat $customerVat, - UpdateValidationResult $updateValidationResult = null + UpdateValidationResult $updateValidationRes = null ) { $this->customerVat = $customerVat; $this->customerAddress = $customerAddress; - $this->updateValidationResult = $updateValidationResult; + $this->updateValidationResult = $updateValidationRes; // Backward compatibility object injection if ($this->updateValidationResult === null) {