From b871eb85e293ca96c542667d82b97defb327dc2d Mon Sep 17 00:00:00 2001
From: Tim van Dijen <tvdijen@gmail.com>
Date: Sat, 28 Jul 2018 20:11:53 +0200
Subject: [PATCH] Fix typo

---
 docs/simplesamlphp-changelog.md               | 2 +-
 modules/sanitycheck/hooks/hook_frontpage.php  | 2 +-
 modules/sanitycheck/hooks/hook_moduleinfo.php | 2 +-
 modules/statistics/hooks/hook_sanitycheck.php | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/docs/simplesamlphp-changelog.md b/docs/simplesamlphp-changelog.md
index 699edd392..84e0b5d84 100644
--- a/docs/simplesamlphp-changelog.md
+++ b/docs/simplesamlphp-changelog.md
@@ -1536,7 +1536,7 @@ Updates to `config.php`. Please check for updates in your local modified configu
   * Verification of the Receipient attribute in the response. Will improve security if for some reason an IdP is not includeding sufficient Audience restrictions.
   * Added hook to let modules tell about themself moduleinfo hook.
   * Improved cron mails
-  * Improved santity check exception handling
+  * Improved sanity check exception handling
   * Preserver line breaks in stack trace UI
   * Improvements to WS-Federation support: dynamic realms, logout etc.
   * Better handling of presentation of JPEG photos as attributes.
diff --git a/modules/sanitycheck/hooks/hook_frontpage.php b/modules/sanitycheck/hooks/hook_frontpage.php
index b71360118..ab7395927 100644
--- a/modules/sanitycheck/hooks/hook_frontpage.php
+++ b/modules/sanitycheck/hooks/hook_frontpage.php
@@ -9,7 +9,7 @@ function sanitycheck_hook_frontpage(&$links)
     assert(is_array($links));
     assert(array_key_exists('links', $links));
 
-    $links['config']['santitycheck'] = array(
+    $links['config']['sanitycheck'] = array(
         'href' => SimpleSAML\Module::getModuleURL('sanitycheck/index.php'),
         'text' => array('en' => 'Sanity check of your SimpleSAMLphp setup'),
         'shorttext' => array('en' => 'SanityCheck'),
diff --git a/modules/sanitycheck/hooks/hook_moduleinfo.php b/modules/sanitycheck/hooks/hook_moduleinfo.php
index 60f7acd72..0621b972c 100644
--- a/modules/sanitycheck/hooks/hook_moduleinfo.php
+++ b/modules/sanitycheck/hooks/hook_moduleinfo.php
@@ -11,7 +11,7 @@ function sanitycheck_hook_moduleinfo(&$moduleinfo)
 
     $moduleinfo['info']['sanitycheck'] = array(
         'name' => array('en' => 'Sanity check'),
-        'description' => array('en' => 'This module adds functionality for other modules to provide santity checks.'),
+        'description' => array('en' => 'This module adds functionality for other modules to provide sanity checks.'),
 
         'dependencies' => array('core'),
         'uses' => array('cron'),
diff --git a/modules/statistics/hooks/hook_sanitycheck.php b/modules/statistics/hooks/hook_sanitycheck.php
index 1c3783925..82a131394 100644
--- a/modules/statistics/hooks/hook_sanitycheck.php
+++ b/modules/statistics/hooks/hook_sanitycheck.php
@@ -1,6 +1,6 @@
 <?php
 /**
- * Hook to do santity checks
+ * Hook to do sanity checks
  *
  * @param array &$hookinfo  hookinfo
  */
-- 
GitLab