@@ -10,7 +10,8 @@ discard block |
||
| 10 | 10 | * @package LaravelSpatial\Schema\Grammars |
| 11 | 11 | * @internal |
| 12 | 12 | */ |
| 13 | -class GrammarFactory { |
|
| 13 | +class GrammarFactory |
|
| 14 | +{ |
|
| 14 | 15 | |
| 15 | 16 | /** |
| 16 | 17 | * @param string $name |
@@ -18,7 +19,7 @@ discard block |
||
| 18 | 19 | * @return \Illuminate\Database\Schema\Grammars\Grammar |
| 19 | 20 | */ |
| 20 | 21 | public static function make(string $name): Grammar { |
| 21 | - switch($name){ |
|
| 22 | + switch($name) { |
|
| 22 | 23 | case 'mysql': |
| 23 | 24 | return new MySqlGrammar(); |
| 24 | 25 | break; |
@@ -10,7 +10,8 @@ |
||
| 10 | 10 | * |
| 11 | 11 | * @package LaravelSpatial\Schema |
| 12 | 12 | */ |
| 13 | -class PostgresBuilder extends BasePostgresBuilder { |
|
| 13 | +class PostgresBuilder extends BasePostgresBuilder |
|
| 14 | +{ |
|
| 14 | 15 | |
| 15 | 16 | /** |
| 16 | 17 | * @inheritDoc |