Sqlite   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getTypes() 0 8 1
A registerCustomTypeOptions() 0 2 1
1
<?php
2
3
namespace CodexShaper\DBM\Database\Platforms;
4
5
use Illuminate\Support\Collection;
6
7
abstract class Sqlite extends Platform
8
{
9
    /**
10
     * Get Types.
11
     *
12
     * @return \Illuminate\Support\Collection
13
     */
14
    public static function getTypes(Collection $typeMapping)
15
    {
16
        $typeMapping->forget([
17
            'decimal',
18
            'double',
19
        ]);
20
21
        return $typeMapping->unique();
22
    }
23
24
    public static function registerCustomTypeOptions()
25
    {
26
    }
27
}
28