Some fixes / improvements
This commit is contained in:
@@ -4,7 +4,7 @@ namespace Driver\SQL\Column;
|
||||
|
||||
class StringColumn extends Column {
|
||||
|
||||
private $maxSize;
|
||||
private ?int $maxSize;
|
||||
|
||||
public function __construct($name, $maxSize=null, $nullable=false, $defaultValue=null) {
|
||||
parent::__construct($name, $nullable, $defaultValue);
|
||||
@@ -12,6 +12,4 @@ class StringColumn extends Column {
|
||||
}
|
||||
|
||||
public function getMaxSize() { return $this->maxSize; }
|
||||
}
|
||||
|
||||
?>
|
||||
}
|
||||
Reference in New Issue
Block a user