| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php namespace Limoncello\Data\Migrations; |
||
| 35 | 1 | public function getSQLDeclaration(array $fieldDeclaration, AbstractPlatform $platform) |
|
| 36 | { |
||
| 37 | 1 | assert( |
|
| 38 | 1 | array_key_exists(static::TYPE_NAME, $fieldDeclaration), |
|
| 39 | 1 | 'Raw type name is not set. Use `Column::setCustomSchemaOption` to set the name.' |
|
| 40 | ); |
||
| 41 | 1 | $rawName = $fieldDeclaration[static::TYPE_NAME]; |
|
| 42 | 1 | assert(empty($rawName) === false); |
|
| 43 | |||
| 44 | 1 | return $rawName; |
|
| 45 | } |
||
| 46 | |||
| 55 |