From 8b64e92b9262d2a2eec6345685ce421050f95c66 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Sun, 3 Jan 2021 15:28:31 +0100 Subject: Bump doctrine/dbal from 2.12.0 to 3.0.0 Signed-off-by: Christoph Wurst --- lib/private/DB/SchemaWrapper.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'lib/private/DB/SchemaWrapper.php') 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(); } -- cgit v1.2.3