diff --git a/src/Concerns/ResolvesValidation.php b/src/Concerns/ResolvesValidation.php index 7660775..8354e1e 100644 --- a/src/Concerns/ResolvesValidation.php +++ b/src/Concerns/ResolvesValidation.php @@ -92,8 +92,8 @@ protected function createDefaultValidator(ValidationFactory $factory) protected function failedValidation() { throw (new ValidationException($this->validator)) - ->errorBag($this->errorBag) - ->redirectTo($this->getRedirectUrl()); + ->errorBag($this->errorBag) + ->redirectTo($this->getRedirectUrl()); } protected function getRedirectUrl()