| Total Complexity | 5 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Coverage | 75% |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class FloatType extends Type |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * {@inheritdoc} |
||
| 12 | */ |
||
| 13 | 518 | public function getName() |
|
| 16 | } |
||
| 17 | |||
| 18 | /** |
||
| 19 | * {@inheritdoc} |
||
| 20 | */ |
||
| 21 | 482 | public function getSQLDeclaration(array $fieldDeclaration, AbstractPlatform $platform) |
|
| 22 | { |
||
| 23 | 482 | return $platform->getFloatDeclarationSQL($fieldDeclaration); |
|
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * {@inheritdoc} |
||
| 28 | */ |
||
| 29 | 335 | public function convertToPHPValue($value, AbstractPlatform $platform) |
|
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * {@inheritdoc} |
||
| 36 | */ |
||
| 37 | public function getBindingType() |
||
| 42 |