Skip to content

Commit 1be9ddd

Browse files
Change visibility, and not make SchemaInterface::class mandatory. (#257)
1 parent a2953fd commit 1be9ddd

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

src/DDLQueryBuilder.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@
77
use Throwable;
88
use Yiisoft\Db\Exception\NotSupportedException;
99
use Yiisoft\Db\QueryBuilder\AbstractDDLQueryBuilder;
10-
use Yiisoft\Db\QueryBuilder\QueryBuilderInterface;
1110
use Yiisoft\Db\Schema\Builder\ColumnInterface;
12-
use Yiisoft\Db\Schema\QuoterInterface;
13-
use Yiisoft\Db\Schema\SchemaInterface;
1411

1512
use function array_diff;
1613
use function array_unshift;
@@ -25,14 +22,6 @@
2522
*/
2623
final class DDLQueryBuilder extends AbstractDDLQueryBuilder
2724
{
28-
public function __construct(
29-
private QueryBuilderInterface $queryBuilder,
30-
private QuoterInterface $quoter,
31-
private SchemaInterface $schema
32-
) {
33-
parent::__construct($queryBuilder, $quoter, $schema);
34-
}
35-
3625
public function addDefaultValue(string $table, string $name, string $column, mixed $value): string
3726
{
3827
throw new NotSupportedException(__METHOD__ . ' is not supported by PostgreSQL.');

0 commit comments

Comments
 (0)