diff --git a/docs/simplesamlphp-changelog.md b/docs/simplesamlphp-changelog.md
index 699edd3920ab2049fe63beac564c725f81e36f67..84e0b5d84366090ddde36b4ef78a5d9261100ac5 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 b713601180f28a22036c800eb7bfa0e57d5e50c8..ab73959270360031a9aefd44b2f43d4a7494468e 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 60f7acd72daea3e38269d32c16f9da512b076f6d..0621b972c9333811d67e523b68942fe198938b45 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 1c3783925a728f263f41551f9dc71c4e38c8e533..82a131394180597af971ef696ee9362000099996 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
  */