Propagate signature change of Database::transaction()

This commit is contained in:
Hypolite Petovan 2022-05-29 14:23:57 -04:00
parent 121d26999c
commit 4c5d9e22a8

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;