@@ -93,7 +93,7 @@ |
||
93 | 93 | */ |
94 | 94 | public function compileExcludeRangeOverlapping(Blueprint $blueprint, Fluent $command): string |
95 | 95 | { |
96 | - if (! empty($command->additionalColumns)) { |
|
96 | + if (!empty($command->additionalColumns)) { |
|
97 | 97 | $this->addBtreeGistExtension(); |
98 | 98 | } |
99 | 99 |
@@ -17,7 +17,7 @@ |
||
17 | 17 | |
18 | 18 | protected function setCustomResolverForPgsql(): void |
19 | 19 | { |
20 | - Connection::resolverFor('pgsql', static function ($connection, $database, $prefix, $config) { |
|
20 | + Connection::resolverFor('pgsql', static function($connection, $database, $prefix, $config) { |
|
21 | 21 | return new PostgresConnection($connection, $database, $prefix, $config); |
22 | 22 | }); |
23 | 23 | } |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | foreach ($this->macrosParams as [$operatorName, $operator]) { |
25 | 25 | Builder::macro( |
26 | 26 | "where{$operatorName}", |
27 | - fn ($left, $right) => $this->whereRaw( |
|
27 | + fn($left, $right) => $this->whereRaw( |
|
28 | 28 | sprintf('%s %s %s', |
29 | 29 | $left instanceof Range ? $left->forSql() : $left, |
30 | 30 | $operator, |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | |
36 | 36 | Builder::macro( |
37 | 37 | "orWhere{$operatorName}", |
38 | - fn ($left, $right) => $this->orWhereRaw( |
|
38 | + fn($left, $right) => $this->orWhereRaw( |
|
39 | 39 | sprintf('%s %s %s', |
40 | 40 | $left instanceof Range ? $left->forSql() : $left, |
41 | 41 | $operator, |
@@ -20,11 +20,11 @@ |
||
20 | 20 | foreach ($this->columnTypes as [$columnTypeForMacro, $columnTypeForPostgres]) { |
21 | 21 | Blueprint::macro( |
22 | 22 | $columnTypeForMacro, |
23 | - fn (string $columnName) => $this->addColumn($columnTypeForPostgres, $columnName) |
|
23 | + fn(string $columnName) => $this->addColumn($columnTypeForPostgres, $columnName) |
|
24 | 24 | ); |
25 | 25 | } |
26 | 26 | |
27 | - Blueprint::macro('excludeRangeOverlapping', function ($columnName, ...$additionalColumns) { |
|
27 | + Blueprint::macro('excludeRangeOverlapping', function($columnName, ...$additionalColumns) { |
|
28 | 28 | return $this->addCommand('excludeRangeOverlapping', [ |
29 | 29 | 'column' => $columnName, |
30 | 30 | 'additionalColumns' => $additionalColumns, |