@@ -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 | case ':like': |
703 | 703 | if (is_array($value)) { |
@@ -761,7 +761,7 @@ discard block |
||
761 | 761 | return $this->quoteIdentifier($query, $column).' = '.$this->compileExpressionValue($query, $value, $converted); |
762 | 762 | |
763 | 763 | default: |
764 | - throw new UnexpectedValueException("Unsupported operator '" . $operator . "' in WHERE clause"); |
|
764 | + throw new UnexpectedValueException("Unsupported operator '".$operator."' in WHERE clause"); |
|
765 | 765 | } |
766 | 766 | } |
767 | 767 | |
@@ -849,7 +849,7 @@ discard block |
||
849 | 849 | $sql = '('.$this->compileSelect($query).')'; |
850 | 850 | |
851 | 851 | if ($alias) { |
852 | - $sql = $sql . ' as ' . $this->quoteIdentifier($clause, $alias); |
|
852 | + $sql = $sql.' as '.$this->quoteIdentifier($clause, $alias); |
|
853 | 853 | } |
854 | 854 | |
855 | 855 | $this->addQueryBindings($clause, $query); |
@@ -1007,12 +1007,12 @@ discard block |
||
1007 | 1007 | if ($lock !== null && !$query->statements['aggregate']) { |
1008 | 1008 | // Lock for update |
1009 | 1009 | if ($lock === LockMode::PESSIMISTIC_WRITE) { |
1010 | - return ' ' . $this->platform()->grammar()->getWriteLockSQL(); |
|
1010 | + return ' '.$this->platform()->grammar()->getWriteLockSQL(); |
|
1011 | 1011 | } |
1012 | 1012 | |
1013 | 1013 | // Shared Lock: other process can read the row but not update it. |
1014 | 1014 | if ($lock === LockMode::PESSIMISTIC_READ) { |
1015 | - return ' ' . $this->platform()->grammar()->getReadLockSQL(); |
|
1015 | + return ' '.$this->platform()->grammar()->getReadLockSQL(); |
|
1016 | 1016 | } |
1017 | 1017 | } |
1018 | 1018 |