Propagate signature change of Database::transaction()
This commit is contained in:
parent
121d26999c
commit
4c5d9e22a8
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue