code cleanup
This commit is contained in:
@@ -6,10 +6,10 @@ class EnumColumn extends Column {
|
||||
|
||||
private array $values;
|
||||
|
||||
public function __construct($name, $values, $nullable=false, $defaultValue=NULL) {
|
||||
public function __construct(string $name, array $values, bool $nullable = false, $defaultValue = NULL) {
|
||||
parent::__construct($name, $nullable, $defaultValue);
|
||||
$this->values = $values;
|
||||
}
|
||||
|
||||
public function getValues() { return $this->values; }
|
||||
public function getValues(): array { return $this->values; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user