DbMigration: Adjust usage of `Database::getDb()`
This commit is contained in:
parent
fac3855a86
commit
96a6321569
|
@ -13,12 +13,12 @@ use ipl\Sql\Connection;
|
|||
class DbMigration extends DbMigrationHook
|
||||
{
|
||||
use Database {
|
||||
getDb as public getPublicDb;
|
||||
getDb as private getWebDb;
|
||||
}
|
||||
|
||||
public function getDb(): Connection
|
||||
{
|
||||
return $this->getPublicDb();
|
||||
return $this->getWebDb();
|
||||
}
|
||||
|
||||
public function getName(): string
|
||||
|
|
Loading…
Reference in New Issue