]> git.mxchange.org Git - friendica.git/commitdiff
Propagate signature change of Database::transaction()
authorHypolite Petovan <hypolite@mrpetovan.com>
Sun, 29 May 2022 18:23:57 +0000 (14:23 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sun, 29 May 2022 18:23:57 +0000 (14:23 -0400)
tests/Util/Database/StaticDatabase.php

index 213d8a439256feee9dca600e9d9a3b2e23156043..a6b2575f5909017672cea8bfd3fe59d1adb39ace 100644 (file)
@@ -70,7 +70,7 @@ class StaticDatabase extends Database
         *
         * @return bool
         */
-       public function transaction()
+       public function transaction(): bool
        {
                if (!$this->in_transaction && !$this->connection->beginTransaction()) {
                        return false;