spelling: existence

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2023-03-21 23:17:45 -04:00
parent f9572d9df7
commit 9369691713
4 changed files with 5 additions and 5 deletions

View file

@ -362,7 +362,7 @@ class Worker
return false; return false;
} }
// Check for existance and validity of the include file // Check for existence and validity of the include file
$include = $argv[0]; $include = $argv[0];
if (method_exists(sprintf('Friendica\Worker\%s', $include), 'execute')) { if (method_exists(sprintf('Friendica\Worker\%s', $include), 'execute')) {

View file

@ -92,7 +92,7 @@ class GServer
const DETECT_NODEINFO_210 = 103; 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 string $url
* @param boolean $only_nodeinfo * @param boolean $only_nodeinfo

View file

@ -2204,7 +2204,7 @@ class Diaspora
$author = WebFingerUri::fromString($author_handle); $author = WebFingerUri::fromString($author_handle);
// the current protocol version doesn't know these fields // 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)) { if (isset($data->following)) {
$following = (XML::unescape($data->following) == 'true'); $following = (XML::unescape($data->following) == 'true');
} else { } else {

View file

@ -153,7 +153,7 @@ class ExAuth
if (is_array($aCommand)) { if (is_array($aCommand)) {
switch ($aCommand[0]) { switch ($aCommand[0]) {
case 'isuser': case 'isuser':
// Check the existance of a given username // Check the existence of a given username
$this->isUser($aCommand); $this->isUser($aCommand);
break; break;
case 'auth': 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 $host The hostname
* @param string $user Username * @param string $user Username