Passed
Push — master ( 4a4b24...5050e4 )
by belamov
02:45
created
src/PostgresGrammarWithRangeTypes.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -101,11 +101,11 @@  discard block
 block discarded – undo
101 101
      */
102 102
     public function compileExcludeRangeOverlapping(Blueprint $blueprint, Fluent $command): ?string
103 103
     {
104
-        if (!$command->range_column){
104
+        if (!$command->range_column) {
105 105
             return null;
106 106
         }
107 107
 
108
-        if (! empty($command->additionalColumns)) {
108
+        if (!empty($command->additionalColumns)) {
109 109
             $this->addBtreeGistExtension();
110 110
         }
111 111
 
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
 
124 124
     private function getAdditionalColumnsForExclude(?array $additionalColumns = []): string
125 125
     {
126
-        if (!is_array($additionalColumns)){
126
+        if (!is_array($additionalColumns)) {
127 127
             return '';
128 128
         }
129 129
 
Please login to merge, or discard this patch.
src/Macros/BluePrintMacros.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
             );
26 26
         }
27 27
 
28
-        Blueprint::macro('excludeRangeOverlapping', function ($columnName, ...$additionalColumns) {
28
+        Blueprint::macro('excludeRangeOverlapping', function($columnName, ...$additionalColumns) {
29 29
             return $this->addCommand('excludeRangeOverlapping', [
30 30
                 'range_column' => $columnName,
31 31
                 'additionalColumns' => $additionalColumns,
Please login to merge, or discard this patch.