@@ -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, |