Skip to content

Commit fde8158

Browse files
committed
Use array literal instead of array constant
1 parent fb897d8 commit fde8158

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Type/PgIdentifier.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ class PgIdentifier implements TypeInterface
2222
public function __construct(array $type_names)
2323
{
2424
$types = [];
25-
foreach (self::TYPES as $type) {
25+
26+
foreach (['@column', '@column[]', '@table'] as $type) {
2627
$key = isset($type_names[$type]) ? $type_names[$type] : $type;
2728
$types[$key] = $type;
2829
}

0 commit comments

Comments
 (0)