Passed
Push — master ( bff06a...77db42 )
by Alexander
01:45
created

ColumnSchemaBuilderTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 13
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getColumnSchemaBuilder() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Yiisoft\Db\Pgsql\Tests;
6
7
use Yiisoft\Db\Schemas\ColumnSchemaBuilder;
8
use Yiisoft\Db\Tests\ColumnSchemaBuilderTest as AbstractColumnSchemaBuilderTest;
9
10
class ColumnSchemaBuilderTest extends AbstractColumnSchemaBuilderTest
11
{
12
    public ?string $driverName = 'pgsql';
13
14
    /**
15
     * @param string $type
16
     * @param int $length
17
     *
18
     * @return ColumnSchemaBuilder
19
     */
20
    public function getColumnSchemaBuilder($type, $length = null)
21
    {
22
        return new ColumnSchemaBuilder($type, $length, $this->getConnection());
23
    }
24
}
25