Passed
Pull Request — master (#8)
by belamov
13:44 queued 11:07
created
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.