@@ -50,8 +50,7 @@ discard block |
||
| 50 | 50 | * Class BaseColumn |
| 51 | 51 | * @package Platine\Database\Schema |
| 52 | 52 | */ |
| 53 | -class BaseColumn |
|
| 54 | -{ |
|
| 53 | +class BaseColumn { |
|
| 55 | 54 | |
| 56 | 55 | /** |
| 57 | 56 | * The name of the column |
@@ -76,8 +75,7 @@ discard block |
||
| 76 | 75 | * @param string $name |
| 77 | 76 | * @param string|null $type |
| 78 | 77 | */ |
| 79 | - public function __construct(string $name, ?string $type = null) |
|
| 80 | - { |
|
| 78 | + public function __construct(string $name, ?string $type = null) { |
|
| 81 | 79 | $this->name = $name; |
| 82 | 80 | $this->type = $type; |
| 83 | 81 | } |
@@ -152,8 +150,7 @@ discard block |
||
| 152 | 150 | * @param mixed|null $default |
| 153 | 151 | * @return mixed |
| 154 | 152 | */ |
| 155 | - public function get(string $name, $default = null) |
|
| 156 | - { |
|
| 153 | + public function get(string $name, $default = null) { |
|
| 157 | 154 | return isset($this->properties[$name]) |
| 158 | 155 | ? $this->properties[$name] |
| 159 | 156 | : $default; |