From 9369691713e2ce88465982232f69ac01fc4744ba Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 21 Mar 2023 23:17:45 -0400 Subject: [PATCH] spelling: existence Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- src/Core/Worker.php | 2 +- src/Model/GServer.php | 2 +- src/Protocol/Diaspora.php | 2 +- src/Security/ExAuth.php | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Core/Worker.php b/src/Core/Worker.php index 0ca17c19c..b7067d273 100644 --- a/src/Core/Worker.php +++ b/src/Core/Worker.php @@ -362,7 +362,7 @@ class Worker return false; } - // Check for existance and validity of the include file + // Check for existence and validity of the include file $include = $argv[0]; if (method_exists(sprintf('Friendica\Worker\%s', $include), 'execute')) { diff --git a/src/Model/GServer.php b/src/Model/GServer.php index 9fc47936c..a1c281951 100644 --- a/src/Model/GServer.php +++ b/src/Model/GServer.php @@ -92,7 +92,7 @@ class GServer const DETECT_NODEINFO_210 = 103; /** - * Check for the existance of a server and adds it in the background if not existant + * Check for the existence of a server and adds it in the background if not existant * * @param string $url * @param boolean $only_nodeinfo diff --git a/src/Protocol/Diaspora.php b/src/Protocol/Diaspora.php index a9e4f5aa1..b138a8781 100644 --- a/src/Protocol/Diaspora.php +++ b/src/Protocol/Diaspora.php @@ -2204,7 +2204,7 @@ class Diaspora $author = WebFingerUri::fromString($author_handle); // the current protocol version doesn't know these fields - // That means that we will assume their existance + // That means that we will assume their existence if (isset($data->following)) { $following = (XML::unescape($data->following) == 'true'); } else { diff --git a/src/Security/ExAuth.php b/src/Security/ExAuth.php index a7cf21d32..89c16ab85 100644 --- a/src/Security/ExAuth.php +++ b/src/Security/ExAuth.php @@ -153,7 +153,7 @@ class ExAuth if (is_array($aCommand)) { switch ($aCommand[0]) { case 'isuser': - // Check the existance of a given username + // Check the existence of a given username $this->isUser($aCommand); break; case 'auth': @@ -225,7 +225,7 @@ class ExAuth } /** - * Check remote user existance via HTTP(S) + * Check remote user existence via HTTP(S) * * @param string $host The hostname * @param string $user Username