@@ -186,7 +186,7 @@ discard block |
||
186 | 186 | foreach ($query->statements['tables'] as $table) { |
187 | 187 | return $query->state()->compiled = 'UPDATE ' |
188 | 188 | . $this->quoteIdentifier($query, $table['table']) |
189 | - . ' SET ' . implode(', ', $values) |
|
189 | + . ' SET '.implode(', ', $values) |
|
190 | 190 | . $this->compileWhere($query) |
191 | 191 | ; |
192 | 192 | } |
@@ -524,7 +524,7 @@ discard block |
||
524 | 524 | $from['sql'] = $this->quoteIdentifier($query, $databasePrefix.$from['table']); |
525 | 525 | $compiled[$from['table']] = $from; |
526 | 526 | } else { |
527 | - $from['sql'] = $this->quoteIdentifier($query, $databasePrefix.$from['table']) . ' ' . $this->quoteIdentifier($query, $from['alias']); |
|
527 | + $from['sql'] = $this->quoteIdentifier($query, $databasePrefix.$from['table']).' '.$this->quoteIdentifier($query, $from['alias']); |
|
528 | 528 | $compiled[$from['alias']] = $from; |
529 | 529 | } |
530 | 530 | } |
@@ -697,7 +697,7 @@ discard block |
||
697 | 697 | if (is_array($value)) { |
698 | 698 | return $this->compileIntoExpression($query, $value, $column, 'REGEXP', $converted); |
699 | 699 | } |
700 | - return $this->quoteIdentifier($query, $column).' REGEXP '.$this->compileExpressionValue($query, (string)$value, $converted); |
|
700 | + return $this->quoteIdentifier($query, $column).' REGEXP '.$this->compileExpressionValue($query, (string) $value, $converted); |
|
701 | 701 | |
702 | 702 | // LIKE |
703 | 703 | case ':like': |
@@ -770,7 +770,7 @@ discard block |
||
770 | 770 | |
771 | 771 | // Unsupported operator |
772 | 772 | default: |
773 | - throw new UnexpectedValueException("Unsupported operator '" . $operator . "' in WHERE clause"); |
|
773 | + throw new UnexpectedValueException("Unsupported operator '".$operator."' in WHERE clause"); |
|
774 | 774 | } |
775 | 775 | } |
776 | 776 | |
@@ -858,7 +858,7 @@ discard block |
||
858 | 858 | $sql = '('.$this->compileSelect($query).')'; |
859 | 859 | |
860 | 860 | if ($alias) { |
861 | - $sql = $sql . ' as ' . $this->quoteIdentifier($clause, $alias); |
|
861 | + $sql = $sql.' as '.$this->quoteIdentifier($clause, $alias); |
|
862 | 862 | } |
863 | 863 | |
864 | 864 | $this->addQueryBindings($clause, $query); |
@@ -1016,12 +1016,12 @@ discard block |
||
1016 | 1016 | if ($lock !== null && !$query->statements['aggregate']) { |
1017 | 1017 | // Lock for update |
1018 | 1018 | if ($lock === LockMode::PESSIMISTIC_WRITE) { |
1019 | - return ' ' . $this->platform()->grammar()->getWriteLockSQL(); |
|
1019 | + return ' '.$this->platform()->grammar()->getWriteLockSQL(); |
|
1020 | 1020 | } |
1021 | 1021 | |
1022 | 1022 | // Shared Lock: other process can read the row but not update it. |
1023 | 1023 | if ($lock === LockMode::PESSIMISTIC_READ) { |
1024 | - return ' ' . $this->platform()->grammar()->getReadLockSQL(); |
|
1024 | + return ' '.$this->platform()->grammar()->getReadLockSQL(); |
|
1025 | 1025 | } |
1026 | 1026 | } |
1027 | 1027 |