@@ -180,7 +180,7 @@ discard block |
||
180 | 180 | |
181 | 181 | return $query->state()->compiled = 'UPDATE ' |
182 | 182 | . $this->quoteIdentifier($query, $query->statements['tables'][0]['table']) |
183 | - . ' SET ' . implode(', ', $values) |
|
183 | + . ' SET '.implode(', ', $values) |
|
184 | 184 | . $this->compileWhere($query); |
185 | 185 | } |
186 | 186 | |
@@ -509,7 +509,7 @@ discard block |
||
509 | 509 | $from['sql'] = $this->quoteIdentifier($query, $databasePrefix.$from['table']); |
510 | 510 | $compiled[$from['table']] = $from; |
511 | 511 | } else { |
512 | - $from['sql'] = $this->quoteIdentifier($query, $databasePrefix.$from['table']) . ' ' . $this->quoteIdentifier($query, $from['alias']); |
|
512 | + $from['sql'] = $this->quoteIdentifier($query, $databasePrefix.$from['table']).' '.$this->quoteIdentifier($query, $from['alias']); |
|
513 | 513 | $compiled[$from['alias']] = $from; |
514 | 514 | } |
515 | 515 | } |
@@ -682,7 +682,7 @@ discard block |
||
682 | 682 | if (is_array($value)) { |
683 | 683 | return $this->compileIntoExpression($query, $value, $column, 'REGEXP', $converted); |
684 | 684 | } |
685 | - return $this->quoteIdentifier($query, $column).' REGEXP '.$this->compileExpressionValue($query, (string)$value, $converted); |
|
685 | + return $this->quoteIdentifier($query, $column).' REGEXP '.$this->compileExpressionValue($query, (string) $value, $converted); |
|
686 | 686 | |
687 | 687 | // LIKE |
688 | 688 | case ':like': |
@@ -755,7 +755,7 @@ discard block |
||
755 | 755 | |
756 | 756 | // Unsupported operator |
757 | 757 | default: |
758 | - throw new UnexpectedValueException("Unsupported operator '" . $operator . "' in WHERE clause"); |
|
758 | + throw new UnexpectedValueException("Unsupported operator '".$operator."' in WHERE clause"); |
|
759 | 759 | } |
760 | 760 | } |
761 | 761 | |
@@ -843,7 +843,7 @@ discard block |
||
843 | 843 | $sql = '('.$this->compileSelect($query).')'; |
844 | 844 | |
845 | 845 | if ($alias) { |
846 | - $sql = $sql . ' as ' . $this->quoteIdentifier($clause, $alias); |
|
846 | + $sql = $sql.' as '.$this->quoteIdentifier($clause, $alias); |
|
847 | 847 | } |
848 | 848 | |
849 | 849 | $this->addQueryBindings($clause, $query); |
@@ -1001,12 +1001,12 @@ discard block |
||
1001 | 1001 | if ($lock !== null && !$query->statements['aggregate']) { |
1002 | 1002 | // Lock for update |
1003 | 1003 | if ($lock === LockMode::PESSIMISTIC_WRITE) { |
1004 | - return ' ' . $this->platform()->grammar()->getWriteLockSQL(); |
|
1004 | + return ' '.$this->platform()->grammar()->getWriteLockSQL(); |
|
1005 | 1005 | } |
1006 | 1006 | |
1007 | 1007 | // Shared Lock: other process can read the row but not update it. |
1008 | 1008 | if ($lock === LockMode::PESSIMISTIC_READ) { |
1009 | - return ' ' . $this->platform()->grammar()->getReadLockSQL(); |
|
1009 | + return ' '.$this->platform()->grammar()->getReadLockSQL(); |
|
1010 | 1010 | } |
1011 | 1011 | } |
1012 | 1012 |