summaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
authorStefan Weil2019-12-14 08:59:39 +0100
committerStefan Weil2019-12-14 09:29:06 +0100
commitab49e774910743701ee8742799c0b5a58ea65d8a (patch)
tree64057cbb86e9b4524444f00dcf0482345ac96a2b /inc
parent[statistics] Fix date range queries to match by day, not by second (diff)
downloadslx-admin-ab49e774910743701ee8742799c0b5a58ea65d8a.tar.gz
slx-admin-ab49e774910743701ee8742799c0b5a58ea65d8a.tar.xz
slx-admin-ab49e774910743701ee8742799c0b5a58ea65d8a.zip
Fix some typos (found by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'inc')
-rw-r--r--inc/dictionary.inc.php2
-rw-r--r--inc/render.inc.php2
-rw-r--r--inc/session.inc.php2
-rw-r--r--inc/taskmanager.inc.php2
-rw-r--r--inc/util.inc.php2
5 files changed, 5 insertions, 5 deletions
diff --git a/inc/dictionary.inc.php b/inc/dictionary.inc.php
index b69007a6..e366207f 100644
--- a/inc/dictionary.inc.php
+++ b/inc/dictionary.inc.php
@@ -240,7 +240,7 @@ class Dictionary
*
* @param $caption bool with caption next to <img>
* @param $langCC string Language cc to get flag code for - defaults to current language
- * @retrun string html code of img tag for language
+ * @return string html code of img tag for language
*/
public static function getFlagHtml($caption = false, $langCC = false)
{
diff --git a/inc/render.inc.php b/inc/render.inc.php
index 34e064bc..2c3a1da7 100644
--- a/inc/render.inc.php
+++ b/inc/render.inc.php
@@ -257,7 +257,7 @@ class Render
}
/**
- * Close the given tag. Will check if it maches the tag last opened
+ * Close the given tag. Will check if it matches the tag last opened
*/
public static function closeTag($tag)
{
diff --git a/inc/session.inc.php b/inc/session.inc.php
index 6204c98c..cb52cd38 100644
--- a/inc/session.inc.php
+++ b/inc/session.inc.php
@@ -37,7 +37,7 @@ class Session
{
// Try to load session id from cookie
if (!self::loadSessionId()) return false;
- // Succeded, now try to load session data. If successful, job is done
+ // Succeeded, now try to load session data. If successful, job is done
if (self::readSessionData()) return true;
// Loading session data failed
self::delete();
diff --git a/inc/taskmanager.inc.php b/inc/taskmanager.inc.php
index 547a75d4..6c8eb056 100644
--- a/inc/taskmanager.inc.php
+++ b/inc/taskmanager.inc.php
@@ -35,7 +35,7 @@ class Taskmanager
* @param string $task name of task to start
* @param array $data data to pass to the task. the structure depends on the task.
* @param boolean $async if true, the function will not wait for the reply of the taskmanager, which means
- * the return value is just true (and you won't know if the task could acutally be started)
+ * the return value is just true (and you won't know if the task could actually be started)
* @return array|false struct representing the task status (as a result of submit); false on communication error
*/
public static function submit($task, $data = false, $async = false)
diff --git a/inc/util.inc.php b/inc/util.inc.php
index 21d784a8..a15b9faf 100644
--- a/inc/util.inc.php
+++ b/inc/util.inc.php
@@ -8,7 +8,7 @@ class Util
* Displays an error message and stops script execution.
* If CONFIG_DEBUG is true, it will also dump a stack trace
* and all globally defined variables.
- * (As this might reveal sensistive data you should never enable it in production)
+ * (As this might reveal sensitive data you should never enable it in production)
*/
public static function traceError($message)
{