Passed
Push — master ( 9fe3b0...ea33af )
by belamov
02:37 queued 21s
created
src/Macros/BluePrintMacros.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -2,31 +2,31 @@
 block discarded – undo
2 2
 
3 3
 use Illuminate\Database\Schema\Blueprint;
4 4
 
5
-Blueprint::macro('dateRange', function (string $columnName) {
5
+Blueprint::macro('dateRange', function(string $columnName) {
6 6
     return $this->addColumn('daterange', $columnName);
7 7
 });
8 8
 
9
-Blueprint::macro('timestampRange', function (string $columnName) {
9
+Blueprint::macro('timestampRange', function(string $columnName) {
10 10
     return $this->addColumn('tsrange', $columnName);
11 11
 });
12 12
 
13
-Blueprint::macro('floatRange', function (string $columnName) {
13
+Blueprint::macro('floatRange', function(string $columnName) {
14 14
     return $this->addColumn('numrange', $columnName);
15 15
 });
16 16
 
17
-Blueprint::macro('integerRange', function (string $columnName) {
17
+Blueprint::macro('integerRange', function(string $columnName) {
18 18
     return $this->addColumn('int4range', $columnName);
19 19
 });
20 20
 
21
-Blueprint::macro('bigIntegerRange', function (string $columnName) {
21
+Blueprint::macro('bigIntegerRange', function(string $columnName) {
22 22
     return $this->addColumn('int8range', $columnName);
23 23
 });
24 24
 
25
-Blueprint::macro('timeRange', function (string $columnName) {
25
+Blueprint::macro('timeRange', function(string $columnName) {
26 26
     return $this->addColumn('timerange', $columnName);
27 27
 });
28 28
 
29
-Blueprint::macro('uniqueRange', function ($columnName, ...$additionalColumns) {
29
+Blueprint::macro('uniqueRange', function($columnName, ...$additionalColumns) {
30 30
     return $this->addCommand('uniqueRange', [
31 31
         'column' => $columnName,
32 32
         'additionalColumns' => $additionalColumns
Please login to merge, or discard this patch.
src/PostgresRangeServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
 
16 16
     protected function setCustomResolverForPgsql(): void
17 17
     {
18
-        Connection::resolverFor('pgsql', function ($connection, $database, $prefix, $config) {
18
+        Connection::resolverFor('pgsql', function($connection, $database, $prefix, $config) {
19 19
             return new PostgresConnection($connection, $database, $prefix, $config);
20 20
         });
21 21
     }
@@ -26,11 +26,11 @@  discard block
 block discarded – undo
26 26
     public function boot(): void
27 27
     {
28 28
         Collection::make(glob(__DIR__.'/Macros/*.php'))->mapWithKeys(
29
-            static function ($path) {
29
+            static function($path) {
30 30
                 return [$path => pathinfo($path, PATHINFO_FILENAME)];
31 31
             }
32 32
         )->each(
33
-            static function ($macro, $path) {
33
+            static function($macro, $path) {
34 34
                 require_once $path;
35 35
             }
36 36
         );
Please login to merge, or discard this patch.