Completed
Push — master ( 3d63f8...442d90 )
by Alejandro
04:55
created

MyType   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 7
c 0
b 0
f 0
wmc 1
lcom 0
cbo 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getSQLDeclaration() 0 4 1
1
<?php
2
namespace Acelaya\Test\Doctrine\Type;
3
4
use Acelaya\Doctrine\Type\PhpEnumType;
5
use Doctrine\DBAL\Platforms\AbstractPlatform;
6
7
class MyType extends PhpEnumType
8
{
9
    public function getSQLDeclaration(array $fieldDeclaration, AbstractPlatform $platform)
10
    {
11
        return 'FOO BAR';
12
    }
13
}
14