Skip to content

Commit

Permalink
Extractor: Rename ArrayStatement to DBAL\Driver\PDO\Statement.
Browse files Browse the repository at this point in the history
  • Loading branch information
janbarasek authored Dec 2, 2020
1 parent 9e352cc commit 9042856
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Orm/DatabaseToDoctrineEntityExtractorCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

use Doctrine\Common\Cache\ArrayCache;
use Doctrine\Common\ClassLoader;
use Doctrine\DBAL\Cache\ArrayStatement;
use Doctrine\DBAL\Driver\PDO\Statement;
use Doctrine\ORM\Configuration;
use Doctrine\ORM\Mapping\Driver\DatabaseDriver;
use Doctrine\ORM\Tools\DisconnectedClassMetadataFactory;
Expand Down Expand Up @@ -97,7 +97,7 @@ public function execute(InputInterface $input, OutputInterface $output): int

$output->writeln('<info>Available tables</info> (database "<comment>' . $connection->getDatabase() . '</comment>"):');

/** @var ArrayStatement $showTablesStatement */
/** @var Statement $showTablesStatement */
$showTablesStatement = $connection->executeQuery('SHOW TABLES');

$tables = array_map(static function (array $item): ?string {
Expand Down

0 comments on commit 9042856

Please sign in to comment.