Passed
Pull Request — master (#3)
by
unknown
04:05
created

PostgresBuilder   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 2
Bugs 1 Features 0
Metric Value
eloc 2
c 2
b 1
f 0
dl 0
loc 9
ccs 2
cts 2
cp 1
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A createBlueprint() 0 3 1
1
<?php
2
3
namespace LaravelSpatial\Schema;
4
5
use Closure;
6
use Illuminate\Database\Schema\PostgresBuilder as BasePostgresBuilder;
7
8
/**
9
 * Class PostgresBuilder
10
 *
11
 * @package LaravelSpatial\Schema
12
 */
13
class PostgresBuilder extends BasePostgresBuilder
14
{
15
16
    /**
17
     * @inheritDoc
18
     */
19 13
    protected function createBlueprint($table, Closure $callback = null)
20
    {
21 13
        return new Blueprint($table, $callback);
22
    }
23
}
24