@@ -22,6 +22,6 @@ |
||
22 | 22 | { |
23 | 23 | $path = $this->model->getPathName(); |
24 | 24 | |
25 | - return $this->wrap($path) . ' asc'; |
|
25 | + return $this->wrap($path).' asc'; |
|
26 | 26 | } |
27 | 27 | } |
@@ -40,7 +40,7 @@ |
||
40 | 40 | return $this->wrap($alias).' || '.$this->wrap($column); |
41 | 41 | } |
42 | 42 | |
43 | - return $this->wrap($alias) . ' || ' . $this->wrap($column) . '::varchar'; |
|
43 | + return $this->wrap($alias).' || '.$this->wrap($column).'::varchar'; |
|
44 | 44 | } |
45 | 45 | |
46 | 46 | /** |
@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | */ |
19 | 19 | public function compileInitialPath($column, $alias) |
20 | 20 | { |
21 | - return 'cast(' . $this->wrap($column) . ' as char(65535)) as ' . $this->wrap($alias); |
|
21 | + return 'cast('.$this->wrap($column).' as char(65535)) as '.$this->wrap($alias); |
|
22 | 22 | } |
23 | 23 | |
24 | 24 | /** |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | */ |
31 | 31 | public function compileRecursivePath($column, $alias) |
32 | 32 | { |
33 | - return 'concat(' . $this->wrap($alias) . ', ?, ' . $this->wrap($column) . ')'; |
|
33 | + return 'concat('.$this->wrap($alias).', ?, '.$this->wrap($column).')'; |
|
34 | 34 | } |
35 | 35 | |
36 | 36 | /** |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | public function selectPathList(Builder $query, $expression, $column, $pathSeparator, $listSeparator) |
58 | 58 | { |
59 | 59 | return $query->selectRaw( |
60 | - 'group_concat(' . $this->wrap($column) . " separator '$listSeparator')" |
|
60 | + 'group_concat('.$this->wrap($column)." separator '$listSeparator')" |
|
61 | 61 | )->from($expression); |
62 | 62 | } |
63 | 63 |