From ab49e774910743701ee8742799c0b5a58ea65d8a Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Sat, 14 Dec 2019 08:59:39 +0100 Subject: Fix some typos (found by codespell) Signed-off-by: Stefan Weil --- inc/dictionary.inc.php | 2 +- inc/render.inc.php | 2 +- inc/session.inc.php | 2 +- inc/taskmanager.inc.php | 2 +- inc/util.inc.php | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'inc') 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 * @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) { -- cgit v1.2.3-55-g7522