@@ -171,7 +171,7 @@ discard block |
||
171 | 171 | protected function whereStringArray(string $where, array $whereBinder) |
172 | 172 | { |
173 | 173 | list($where, $whereBinder) = $this->prepareWhereString($where, $whereBinder); |
174 | - $this->where = 'WHERE ' . $where; |
|
174 | + $this->where = 'WHERE '.$where; |
|
175 | 175 | $this->binder = $this->mergeBinder($this->binder, $whereBinder); |
176 | 176 | } |
177 | 177 | |
@@ -183,7 +183,7 @@ discard block |
||
183 | 183 | */ |
184 | 184 | public function groupBy(string $what) |
185 | 185 | { |
186 | - $this->groupBy = 'GROUP BY ' . $what; |
|
186 | + $this->groupBy = 'GROUP BY '.$what; |
|
187 | 187 | return $this; |
188 | 188 | } |
189 | 189 | |
@@ -227,7 +227,7 @@ discard block |
||
227 | 227 | { |
228 | 228 | |
229 | 229 | list($having, $havingBinder) = $this->prepareWhereString($having, $havingBinder); |
230 | - $this->having = 'HAVING ' . $having; |
|
230 | + $this->having = 'HAVING '.$having; |
|
231 | 231 | $this->binder = $this->mergeBinder($this->binder, $havingBinder); |
232 | 232 | } |
233 | 233 | |
@@ -242,9 +242,9 @@ discard block |
||
242 | 242 | { |
243 | 243 | $order = strtoupper($order); |
244 | 244 | if (strlen($this->orderBy) > 0) { |
245 | - $this->orderBy .= ',`' . $what . '` ' . $order; |
|
245 | + $this->orderBy .= ',`'.$what.'` '.$order; |
|
246 | 246 | } else { |
247 | - $this->orderBy = 'ORDER BY `' . $what . '` ' . $order; |
|
247 | + $this->orderBy = 'ORDER BY `'.$what.'` '.$order; |
|
248 | 248 | } |
249 | 249 | return $this; |
250 | 250 | } |
@@ -258,7 +258,7 @@ discard block |
||
258 | 258 | */ |
259 | 259 | public function limit(int $start, int $length = null) |
260 | 260 | { |
261 | - $this->limit = 'LIMIT ' . $start . ($length !== null ? ',' . $length : ''); |
|
261 | + $this->limit = 'LIMIT '.$start.($length !== null ? ','.$length : ''); |
|
262 | 262 | return $this; |
263 | 263 | } |
264 | 264 |