@@ -61,7 +61,6 @@ abstract class AbstractColumn implements ColumnInterface
6161 * @param string|null $comment The column's comment.
6262 * @param bool $computed Whether the column is a computed column.
6363 * @param string|null $dbType The column's database type.
64- * @param array|null $enumValues The list of possible values for an ENUM column.
6564 * @param string|null $extra Any extra information that needs to be appended to the column's definition.
6665 * @param bool $primaryKey Whether the column is a primary key.
6766 * @param string|null $name The column's name.
@@ -83,7 +82,6 @@ public function __construct(
8382 private ?string $ comment = null ,
8483 private bool $ computed = false ,
8584 private ?string $ dbType = null ,
86- private ?array $ enumValues = null ,
8785 private ?string $ extra = null ,
8886 private bool $ primaryKey = false ,
8987 private ?string $ name = null ,
@@ -146,12 +144,6 @@ public function defaultValue(mixed $defaultValue): static
146144 return $ this ;
147145 }
148146
149- public function enumValues (?array $ enumValues ): static
150- {
151- $ this ->enumValues = $ enumValues ;
152- return $ this ;
153- }
154-
155147 public function extra (?string $ extra ): static
156148 {
157149 $ this ->extra = $ extra ;
@@ -182,12 +174,6 @@ public function getDefaultValue(): mixed
182174 return $ this ->defaultValue ?? null ;
183175 }
184176
185- /** @psalm-mutation-free */
186- public function getEnumValues (): ?array
187- {
188- return $ this ->enumValues ;
189- }
190-
191177 /** @psalm-mutation-free */
192178 public function getExtra (): ?string
193179 {
0 commit comments