@@ -107,7 +107,8 @@ |
||
| 107 | 107 | if (!Type::hasType('timestamp')) { |
| 108 | 108 | Type::addType( |
| 109 | 109 | 'timestamp', |
| 110 | - new class extends Type implements PhpDateTimeMappingType { |
|
| 110 | + new class extends Type implements PhpDateTimeMappingType |
|
| 111 | + { |
|
| 111 | 112 | public function getName(): string |
| 112 | 113 | { |
| 113 | 114 | return 'timestamp'; |
@@ -38,7 +38,8 @@ |
||
| 38 | 38 | parent::__construct($connection); |
| 39 | 39 | } |
| 40 | 40 | |
| 41 | - public function from($from, $alias = null) { |
|
| 41 | + public function from($from, $alias = null) |
|
| 42 | + { |
|
| 42 | 43 | parent::from($this->prefix . $from, $alias ?? $from); |
| 43 | 44 | } |
| 44 | 45 | |