aboutsummaryrefslogtreecommitdiffstats
path: root/core/Command/Db/Migrations/StatusCommand.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/Command/Db/Migrations/StatusCommand.php')
-rw-r--r--core/Command/Db/Migrations/StatusCommand.php9
1 files changed, 3 insertions, 6 deletions
diff --git a/core/Command/Db/Migrations/StatusCommand.php b/core/Command/Db/Migrations/StatusCommand.php
index 83763ee79b3..6c78bcd180c 100644
--- a/core/Command/Db/Migrations/StatusCommand.php
+++ b/core/Command/Db/Migrations/StatusCommand.php
@@ -24,9 +24,9 @@
namespace OC\Core\Command\Db\Migrations;
+use OC\DB\Connection;
use OC\DB\MigrationService;
use OC\Migration\ConsoleOutput;
-use OCP\IDBConnection;
use Stecman\Component\Symfony\Console\BashCompletion\Completion\CompletionAwareInterface;
use Stecman\Component\Symfony\Console\BashCompletion\CompletionContext;
use Symfony\Component\Console\Command\Command;
@@ -36,13 +36,10 @@ use Symfony\Component\Console\Output\OutputInterface;
class StatusCommand extends Command implements CompletionAwareInterface {
- /** @var IDBConnection */
+ /** @var Connection */
private $connection;
- /**
- * @param IDBConnection $connection
- */
- public function __construct(IDBConnection $connection) {
+ public function __construct(Connection $connection) {
$this->connection = $connection;
parent::__construct();
}