summaryrefslogtreecommitdiffstats
path: root/core/Command/Db/AddMissingPrimaryKeys.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/Command/Db/AddMissingPrimaryKeys.php')
-rw-r--r--core/Command/Db/AddMissingPrimaryKeys.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/Command/Db/AddMissingPrimaryKeys.php b/core/Command/Db/AddMissingPrimaryKeys.php
index ef3d6a05f2e..7113ecb210f 100644
--- a/core/Command/Db/AddMissingPrimaryKeys.php
+++ b/core/Command/Db/AddMissingPrimaryKeys.php
@@ -26,6 +26,7 @@ declare(strict_types=1);
namespace OC\Core\Command\Db;
+use OC\DB\Connection;
use OC\DB\SchemaWrapper;
use OCP\IDBConnection;
use Symfony\Component\Console\Command\Command;
@@ -44,13 +45,13 @@ use Symfony\Component\EventDispatcher\GenericEvent;
*/
class AddMissingPrimaryKeys extends Command {
- /** @var IDBConnection */
+ /** @var Connection */
private $connection;
/** @var EventDispatcherInterface */
private $dispatcher;
- public function __construct(IDBConnection $connection, EventDispatcherInterface $dispatcher) {
+ public function __construct(Connection $connection, EventDispatcherInterface $dispatcher) {
parent::__construct();
$this->connection = $connection;