Propagate signature change of Database::transaction()

2022.05-rc
Hypolite Petovan 2022-05-29 14:23:57 -04:00
parent 121d26999c
commit 4c5d9e22a8
1 changed files with 1 additions and 1 deletions

View 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;