Skip to content

Commit e073cfe

Browse files
Add phpdoc constans AbstractColumn::class. (#232)
1 parent dbb428d commit e073cfe

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/Column.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ protected function buildUnsignedString(): string
3636
public function asString(): string
3737
{
3838
$format = match ($this->getTypeCategory()) {
39-
self::CATEGORY_PK => '{type}{check}{append}',
40-
self::CATEGORY_NUMERIC => '{type}{length}{unsigned}{notnull}{unique}{check}{default}{append}',
41-
self::CATEGORY_UUID => '{type}{notnull}{unique}{default}{check}{comment}{append}',
42-
self::CATEGORY_UUID_PK => '{type}{notnull}{default}{check}{comment}{append}',
39+
self::TYPE_CATEGORY_PK => '{type}{check}{append}',
40+
self::TYPE_CATEGORY_NUMERIC => '{type}{length}{unsigned}{notnull}{unique}{check}{default}{append}',
41+
self::TYPE_CATEGORY_UUID => '{type}{notnull}{unique}{default}{check}{comment}{append}',
42+
self::TYPE_CATEGORY_UUID_PK => '{type}{notnull}{default}{check}{comment}{append}',
4343
default => '{type}{length}{notnull}{unique}{check}{default}{append}',
4444
};
4545

0 commit comments

Comments
 (0)