Passed
Branch master (57ef06)
by belamov
03:04
created
src/PostgresGrammarWithRangeTypes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/PostgresRangeServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Macros/QueryBuilderMacros.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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,
Please login to merge, or discard this patch.
src/Macros/BluePrintMacros.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,11 +20,11 @@
 block discarded – undo
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,
Please login to merge, or discard this patch.