spelling: successful
authorJosh Soref <2119212+jsoref@users.noreply.github.com>
Wed, 22 Mar 2023 04:08:30 +0000 (00:08 -0400)
committerJosh Soref <2119212+jsoref@users.noreply.github.com>
Sun, 26 Mar 2023 20:14:16 +0000 (16:14 -0400)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
CHANGELOG
src/Database/DBA.php
src/Database/Database.php
src/Model/Contact.php
src/Model/GServer.php
src/Model/Photo.php
src/Model/User.php

index c21dc7e..9d469f6 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1912,7 +1912,7 @@ Version 3.4.3 (2015-12-22)
        Fix rapid repeated requests to GNUSocial instance (issue #2038) (annando)
        Fix install routine css when mod_rewrite doesn't works (issue #2071) (fabrixxm)
        Fix code to be compliant with minimum required PHP version (issue #2066) (fabrixxm, rabuzarus)
-       Fix feedback after succesfull registration (issue #2060) (annando)
+       Fix feedback after successful registration (issue #2060) (annando)
        Fix mention completion popup with TinyMCE (issue #1920) (fabrixxm)
        Fix photo cache and proxy when installed in subfolder (ddorian1)
        Fix bbcode conversion of the about text for the profile (issue #1607) (annando)
index e29cd30..d609f10 100644 (file)
@@ -205,7 +205,7 @@ class DBA
         * Please use DBA::delete, DBA::insert, DBA::update, ... instead
         *
         * @param string $sql SQL statement
-        * @return boolean Was the query successfull? False is returned only if an error occurred
+        * @return boolean Was the query successful? False is returned only if an error occurred
         * @throws \Exception
         */
        public static function e(string $sql): bool
@@ -420,7 +420,7 @@ class DBA
         * @param array|boolean $old_fields array with the old field values that are about to be replaced (true = update on duplicate, false = don't update identical fields)
         * @param array         $params     Parameters: "ignore" If set to "true" then the update is done with the ignore parameter
         *
-        * @return boolean was the update successfull?
+        * @return boolean was the update successful?
         * @throws \Exception
         */
        public static function update(string $table, array $fields, array $condition, $old_fields = [], array $params = []): bool
index 9527fef..4ee0fc3 100644 (file)
@@ -767,7 +767,7 @@ class Database
         *
         * @param string $sql SQL statement
         *
-        * @return boolean Was the query successfull? False is returned only if an error occurred
+        * @return boolean Was the query successful? False is returned only if an error occurred
         * @throws \Exception
         */
        public function e(string $sql): bool
@@ -1321,7 +1321,7 @@ class Database
         * @param array|boolean $old_fields array with the old field values that are about to be replaced (true = update on duplicate, false = don't update identical fields)
         * @param array         $params     Parameters: "ignore" If set to "true" then the update is done with the ignore parameter
         *
-        * @return boolean was the update successfull?
+        * @return boolean was the update successful?
         * @throws \Exception
         * @todo Implement "bool $update_on_duplicate" to avoid mixed type for $old_fields
         */
index 649142c..8792273 100644 (file)
@@ -239,7 +239,7 @@ class Contact
         * @param array         $condition  condition array with the key values
         * @param array|boolean $old_fields array with the old field values that are about to be replaced (true = update on duplicate, false = don't update identical fields)
         *
-        * @return boolean was the update successfull?
+        * @return boolean was the update successful?
         * @throws \Exception
         * @todo Let's get rid of boolean type of $old_fields
         */
@@ -1686,7 +1686,7 @@ class Contact
         * Unblocks a contact
         *
         * @param int $cid Contact id to unblock
-        * @return bool Whether it was successfull
+        * @return bool Whether it was successful
         */
        public static function unblock(int $cid): bool
        {
index d9df8e2..b034ded 100644 (file)
@@ -327,7 +327,7 @@ class GServer
                        return DateTimeFormat::utc('now +1 month');
                }
 
-               // The system hadn't been successul contacted for more than a month, so try again in three months
+               // The system hadn't been successful contacted for more than a month, so try again in three months
                return DateTimeFormat::utc('now +3 month');
        }
 
index 81ea227..2d80df1 100644 (file)
@@ -536,7 +536,7 @@ class Photo
         * @param Image $image      Image to update. Optional, default null.
         * @param array $old_fields Array with the old field values that are about to be replaced (true = update on duplicate)
         *
-        * @return boolean  Was the update successfull?
+        * @return boolean  Was the update successful?
         *
         * @throws \Friendica\Network\HTTPException\InternalServerErrorException
         * @see   \Friendica\Database\DBA::update
index b184b1a..9785379 100644 (file)
@@ -1377,7 +1377,7 @@ class User
         * permanently against re-registration, as the person was not yet
         * allowed to have friends on this system
         *
-        * @return bool True, if the deny was successfull
+        * @return bool True, if the deny was successful
         * @throws Exception
         */
        public static function deny(string $hash): bool