@@ -128,7 +128,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 |