Some fixes / improvements
This commit is contained in:
@@ -4,8 +4,8 @@ namespace Driver\SQL\Column;
|
||||
|
||||
class Column {
|
||||
|
||||
private $name;
|
||||
private $nullable;
|
||||
private string $name;
|
||||
private bool $nullable;
|
||||
private $defaultValue;
|
||||
|
||||
public function __construct($name, $nullable = false, $defaultValue = NULL) {
|
||||
@@ -18,6 +18,4 @@ class Column {
|
||||
public function notNull() { return !$this->nullable; }
|
||||
public function getDefaultValue() { return $this->defaultValue; }
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
}
|
||||
Reference in New Issue
Block a user