From d521a52a337eef6aad14cc5d194123b53ad21251 Mon Sep 17 00:00:00 2001 From: mattclegg Date: Wed, 22 Apr 2020 15:20:11 +0545 Subject: [PATCH] DOCS: Fix typos --- src/Forms/MoneyField.php | 2 +- src/Security/Security.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Forms/MoneyField.php b/src/Forms/MoneyField.php index b3ca9f366..cb5e7a545 100644 --- a/src/Forms/MoneyField.php +++ b/src/Forms/MoneyField.php @@ -9,7 +9,7 @@ use SilverStripe\ORM\DataObjectInterface; /** * A form field that can save into a {@link Money} database field. - * See {@link CurrencyField} for a similiar implementation + * See {@link CurrencyField} for a similar implementation * that can save into a single float database field without indicating the currency. * * @author Ingo Schommer, SilverStripe Ltd. (@silverstripe.com) diff --git a/src/Security/Security.php b/src/Security/Security.php index fd948f414..a9f9da7ce 100644 --- a/src/Security/Security.php +++ b/src/Security/Security.php @@ -166,7 +166,7 @@ class Security extends Controller implements TemplateGlobalProvider /** * Enable or disable recording of login attempts - * through the {@link LoginRecord} object. + * through the {@link LoginAttempt} object. * * @config * @var boolean $login_recording @@ -505,7 +505,7 @@ class Security extends Controller implements TemplateGlobalProvider /** * Perform pre-login checking and prepare a response if available prior to login * - * @return HTTPResponse Substitute response object if the login process should be curcumvented. + * @return HTTPResponse Substitute response object if the login process should be circumvented. * Returns null if should proceed as normal. */ protected function preLogin() @@ -526,7 +526,7 @@ class Security extends Controller implements TemplateGlobalProvider } // If arriving on the login page already logged in, with no security error, and a ReturnURL then redirect - // back. The login message check is neccesary to prevent infinite loops where BackURL links to + // back. The login message check is necessary to prevent infinite loops where BackURL links to // an action that triggers Security::permissionFailure. // This step is necessary in cases such as automatic redirection where a user is authenticated // upon landing on an SSL secured site and is automatically logged in, or some other case