From 5585f6633ff9aa351d7ff86e206bdfc6074d8bb2 Mon Sep 17 00:00:00 2001 From: mattclegg Date: Mon, 13 Apr 2020 11:54:12 +0545 Subject: [PATCH] DOCS: Update typos --- src/Forms/FormRequestHandler.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Forms/FormRequestHandler.php b/src/Forms/FormRequestHandler.php index 64c54ee10..cdebf8363 100644 --- a/src/Forms/FormRequestHandler.php +++ b/src/Forms/FormRequestHandler.php @@ -217,7 +217,7 @@ class FormRequestHandler extends RequestHandler // Action handlers may throw ValidationExceptions. try { - // Or we can use the Valiator attached to the form + // Or we can use the Validator attached to the form $result = $this->form->validationResult(); if (!$result->isValid()) { return $this->getValidationErrorResponse($result); @@ -247,7 +247,7 @@ class FormRequestHandler extends RequestHandler return $this->invokeFormHandler($field, ...$args); } } catch (ValidationException $e) { - // The ValdiationResult contains all the relevant metadata + // The ValidationResult contains all the relevant metadata $result = $e->getResult(); $this->form->loadMessagesFrom($result); return $this->getValidationErrorResponse($result);