]> git.mxchange.org Git - friendica.git/blobdiff - src/Database/Database.php
Update src/Module/Magic.php
[friendica.git] / src / Database / Database.php
index 9527fefb0f46310ef2fe49dcab9baa541540361d..b1ea6c1e4ffe4fa2b6db24e31cd93d57dba639b3 100644 (file)
@@ -102,7 +102,7 @@ class Database
         *
         * @return void
         *
-        * @todo Make this method obsolet - use a clean pattern instead ...
+        * @todo Make this method obsolete - use a clean pattern instead ...
         */
        public function setDependency(IManageConfigValues $config, Profiler $profiler, LoggerInterface $logger)
        {
@@ -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
         */