diff --git a/src/PDO/CommandPDOOracle.php b/src/PDO/CommandPDOOracle.php index 54d6fb5..082e988 100644 --- a/src/PDO/CommandPDOOracle.php +++ b/src/PDO/CommandPDOOracle.php @@ -11,8 +11,6 @@ use Yiisoft\Db\Connection\ConnectionPDOInterface; use Yiisoft\Db\Exception\Exception; use Yiisoft\Db\Query\QueryBuilderInterface; -use Yiisoft\Db\Schema\QuoterInterface; -use Yiisoft\Db\Schema\SchemaInterface; /** * Command represents an Oracle SQL statement to be executed against a database. diff --git a/src/PDO/QueryBuilderPDOOracle.php b/src/PDO/QueryBuilderPDOOracle.php index 7756c9d..2df30de 100644 --- a/src/PDO/QueryBuilderPDOOracle.php +++ b/src/PDO/QueryBuilderPDOOracle.php @@ -137,7 +137,7 @@ public function alterColumn(string $table, string $column, string $type): string * * @param string $table the table that new rows will be inserted into. * @param array $columns the column names. - * @param iterable|Generator $rows the rows to be batched inserted into the table. + * @param Generator|iterable $rows the rows to be batched inserted into the table. * @param array $params * * @throws \Exception|InvalidArgumentException|InvalidConfigException|NotSupportedException diff --git a/src/PDO/SchemaPDOOracle.php b/src/PDO/SchemaPDOOracle.php index b752bed..d7e3254 100644 --- a/src/PDO/SchemaPDOOracle.php +++ b/src/PDO/SchemaPDOOracle.php @@ -399,7 +399,7 @@ protected function findColumns(TableSchema $table): bool * * @throws Exception|InvalidConfigException|Throwable * - * @return int|null|string whether the sequence exists. + * @return int|string|null whether the sequence exists. * * @internal TableSchema `$table->getName()` the table schema. */ diff --git a/tests/QueryBuilderTest.php b/tests/QueryBuilderTest.php index 937c93f..cfd932b 100644 --- a/tests/QueryBuilderTest.php +++ b/tests/QueryBuilderTest.php @@ -6,10 +6,7 @@ use Closure; use Yiisoft\Arrays\ArrayHelper; -use Yiisoft\Db\Connection\ConnectionInterface; -use Yiisoft\Db\Oracle\PDO\QueryBuilderPDOOracle; use yiisoft\Db\Query\Query; -use Yiisoft\Db\Query\QueryBuilderInterface; use Yiisoft\Db\TestSupport\TestQueryBuilderTrait; /** @@ -320,5 +317,4 @@ public function testUpsert(string $table, $insertColumns, $updateColumns, $expec $this->assertIsOneOf($actualParams, $expectedParams); } } - } diff --git a/tests/TestCase.php b/tests/TestCase.php index d0c374e..9d371d2 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -6,7 +6,6 @@ use Exception; use PHPUnit\Framework\TestCase as AbstractTestCase; -use Yiisoft\Db\Connection\ConnectionInterface; use Yiisoft\Db\Driver\PDODriver; use Yiisoft\Db\Oracle\PDO\ConnectionPDOOracle; use Yiisoft\Db\TestSupport\TestTrait;