Passed
Push — master ( 87d081...157357 )
by Jonas
04:03
created
src/Query/Grammars/SQLiteGrammar.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
      */
19 19
     public function compileInitialPath($column, $alias)
20 20
     {
21
-        return 'cast(' . $this->wrap($column) . ' as text) as ' . $this->wrap($alias);
21
+        return 'cast('.$this->wrap($column).' as text) as '.$this->wrap($alias);
22 22
     }
23 23
 
24 24
     /**
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
     public function selectPathList(Builder $query, $expression, $column, $pathSeparator, $listSeparator)
62 62
     {
63 63
         return $query->selectRaw(
64
-            'group_concat(' . $this->wrap($column) . ', ?)',
64
+            'group_concat('.$this->wrap($column).', ?)',
65 65
             [$listSeparator]
66 66
         )->from($expression);
67 67
     }
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
      */
114 114
     public function compileCycleDetectionInitialSelect(string $column): string
115 115
     {
116
-        return 'false as ' . $this->wrap($column);
116
+        return 'false as '.$this->wrap($column);
117 117
     }
118 118
 
119 119
     /**
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
      */
137 137
     public function compileCycleDetectionStopConstraint(string $column): string
138 138
     {
139
-        return 'not ' . $this->wrap($column);
139
+        return 'not '.$this->wrap($column);
140 140
     }
141 141
 
142 142
     /**
Please login to merge, or discard this patch.
src/Eloquent/Traits/HasGraphRelationshipScopes.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
 
129 129
         $query = $this->newModelQuery()
130 130
             ->select("$table.*")
131
-            ->selectRaw($initialDepth . ' as ' . $depth)
131
+            ->selectRaw($initialDepth.' as '.$depth)
132 132
             ->selectRaw($initialPath)
133 133
             ->from($from);
134 134
 
@@ -209,7 +209,7 @@  discard block
 block discarded – undo
209 209
                     $doctrineColumn->getScale()
210 210
                 );
211 211
 
212
-                $query->selectRaw("$null as " . $grammar->wrap("pivot_$column"));
212
+                $query->selectRaw("$null as ".$grammar->wrap("pivot_$column"));
213 213
             }
214 214
         } else {
215 215
             foreach ($columns as $column) {
@@ -288,16 +288,16 @@  discard block
 block discarded – undo
288 288
 
289 289
         $joinColumns = [
290 290
             'asc' => [
291
-                $name . '.' . $this->getLocalKeyName(),
291
+                $name.'.'.$this->getLocalKeyName(),
292 292
                 $this->getQualifiedChildKeyName(),
293 293
             ],
294 294
             'desc' => [
295
-                $name . '.' . $this->getLocalKeyName(),
295
+                $name.'.'.$this->getLocalKeyName(),
296 296
                 $this->getQualifiedParentKeyName(),
297 297
             ],
298 298
         ];
299 299
 
300
-        $recursiveDepth = $depth . ' ' . ($direction === 'asc' ? '-' : '+') . ' 1';
300
+        $recursiveDepth = $depth.' '.($direction === 'asc' ? '-' : '+').' 1';
301 301
 
302 302
         $recursivePath = $grammar->compileRecursivePath(
303 303
             $this->getQualifiedLocalKeyName(),
@@ -307,8 +307,8 @@  discard block
 block discarded – undo
307 307
         $recursivePathBindings = $grammar->getRecursivePathBindings($this->getPathSeparator());
308 308
 
309 309
         $query = $this->newModelQuery()
310
-            ->select($table . '.*')
311
-            ->selectRaw($recursiveDepth . ' as ' . $depth)
310
+            ->select($table.'.*')
311
+            ->selectRaw($recursiveDepth.' as '.$depth)
312 312
             ->selectRaw($recursivePath, $recursivePathBindings)
313 313
             ->from($from);
314 314
 
Please login to merge, or discard this patch.