diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2021-01-03 15:28:31 +0100 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2021-01-08 11:45:19 +0100 |
commit | 8b64e92b9262d2a2eec6345685ce421050f95c66 (patch) | |
tree | dd51490b8a184b2643414d11867a9fa450aa5065 /lib/private/DB/SchemaWrapper.php | |
parent | 84e6e9f7cf19207041925eaa237d24e1c12c2c2d (diff) | |
download | nextcloud-server-8b64e92b9262d2a2eec6345685ce421050f95c66.tar.gz nextcloud-server-8b64e92b9262d2a2eec6345685ce421050f95c66.zip |
Bump doctrine/dbal from 2.12.0 to 3.0.0
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/private/DB/SchemaWrapper.php')
-rw-r--r-- | lib/private/DB/SchemaWrapper.php | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/private/DB/SchemaWrapper.php b/lib/private/DB/SchemaWrapper.php index 440008d35b3..20ae5b6faa6 100644 --- a/lib/private/DB/SchemaWrapper.php +++ b/lib/private/DB/SchemaWrapper.php @@ -26,11 +26,10 @@ namespace OC\DB; use Doctrine\DBAL\Schema\Schema; use OCP\DB\ISchemaWrapper; -use OCP\IDBConnection; class SchemaWrapper implements ISchemaWrapper { - /** @var IDBConnection|Connection */ + /** @var Connection */ protected $connection; /** @var Schema */ @@ -39,10 +38,7 @@ class SchemaWrapper implements ISchemaWrapper { /** @var array */ protected $tablesToDelete = []; - /** - * @param IDBConnection $connection - */ - public function __construct(IDBConnection $connection) { + public function __construct(Connection $connection) { $this->connection = $connection; $this->schema = $this->connection->createSchema(); } |