@@ -174,7 +174,7 @@ discard block |
||
174 | 174 | |
175 | 175 | return $query->state()->compiled = 'UPDATE ' |
176 | 176 | . $this->quoteIdentifier($query, $query->statements['tables'][0]['table']) |
177 | - . ' SET ' . implode(', ', $values) |
|
177 | + . ' SET '.implode(', ', $values) |
|
178 | 178 | . $this->compileWhere($query); |
179 | 179 | } |
180 | 180 | |
@@ -440,7 +440,7 @@ discard block |
||
440 | 440 | if ($from['alias'] === null) { |
441 | 441 | $sql[$from['table']] = $this->quoteIdentifier($query, $databasePrefix.$from['table']); |
442 | 442 | } else { |
443 | - $sql[$from['alias']] = $this->quoteIdentifier($query, $databasePrefix.$from['table']) . ' ' . $this->quoteIdentifier($query, $from['alias']); |
|
443 | + $sql[$from['alias']] = $this->quoteIdentifier($query, $databasePrefix.$from['table']).' '.$this->quoteIdentifier($query, $from['alias']); |
|
444 | 444 | } |
445 | 445 | } |
446 | 446 | } |
@@ -467,12 +467,12 @@ discard block |
||
467 | 467 | |
468 | 468 | if ($join['alias'] === null) { |
469 | 469 | $sql[$join['table']] = $join['type'] |
470 | - . ' JOIN ' . $this->quoteIdentifier($query, $databasePrefix.$join['table']) |
|
471 | - . ' ON ' . $this->compileCompilableClauses($query, $join['on']); |
|
470 | + . ' JOIN '.$this->quoteIdentifier($query, $databasePrefix.$join['table']) |
|
471 | + . ' ON '.$this->compileCompilableClauses($query, $join['on']); |
|
472 | 472 | } else { |
473 | 473 | $sql[$join['alias']] = $join['type'] |
474 | - . ' JOIN ' . $this->quoteIdentifier($query, $databasePrefix.$join['table']).' '.$this->quoteIdentifier($query, $join['alias']) |
|
475 | - . ' ON ' . $this->compileCompilableClauses($query, $join['on']); |
|
474 | + . ' JOIN '.$this->quoteIdentifier($query, $databasePrefix.$join['table']).' '.$this->quoteIdentifier($query, $join['alias']) |
|
475 | + . ' ON '.$this->compileCompilableClauses($query, $join['on']); |
|
476 | 476 | } |
477 | 477 | } |
478 | 478 | |
@@ -639,7 +639,7 @@ discard block |
||
639 | 639 | if (is_array($value)) { |
640 | 640 | return $this->compileIntoExpression($query, $value, $column, 'REGEXP', $converted); |
641 | 641 | } |
642 | - return $this->quoteIdentifier($query, $column).' REGEXP '.$this->compileExpressionValue($query, (string)$value, $converted); |
|
642 | + return $this->quoteIdentifier($query, $column).' REGEXP '.$this->compileExpressionValue($query, (string) $value, $converted); |
|
643 | 643 | |
644 | 644 | // LIKE |
645 | 645 | case ':like': |
@@ -712,7 +712,7 @@ discard block |
||
712 | 712 | |
713 | 713 | // Unsupported operator |
714 | 714 | default: |
715 | - throw new UnexpectedValueException("Unsupported operator '" . $operator . "' in WHERE clause"); |
|
715 | + throw new UnexpectedValueException("Unsupported operator '".$operator."' in WHERE clause"); |
|
716 | 716 | } |
717 | 717 | } |
718 | 718 | |
@@ -796,7 +796,7 @@ discard block |
||
796 | 796 | $sql = '('.$this->compileSelect($query).')'; |
797 | 797 | |
798 | 798 | if ($alias) { |
799 | - $sql = $sql . ' as ' . $this->quoteIdentifier($clause, $alias); |
|
799 | + $sql = $sql.' as '.$this->quoteIdentifier($clause, $alias); |
|
800 | 800 | } |
801 | 801 | |
802 | 802 | $this->addQueryBindings($clause, $query); |
@@ -949,12 +949,12 @@ discard block |
||
949 | 949 | if ($lock !== null && !$query->statements['aggregate']) { |
950 | 950 | // Lock for update |
951 | 951 | if ($lock === LockMode::PESSIMISTIC_WRITE) { |
952 | - return ' ' . $this->platform()->grammar()->getWriteLockSQL(); |
|
952 | + return ' '.$this->platform()->grammar()->getWriteLockSQL(); |
|
953 | 953 | } |
954 | 954 | |
955 | 955 | // Shared Lock: other process can read the row but not update it. |
956 | 956 | if ($lock === LockMode::PESSIMISTIC_READ) { |
957 | - return ' ' . $this->platform()->grammar()->getReadLockSQL(); |
|
957 | + return ' '.$this->platform()->grammar()->getReadLockSQL(); |
|
958 | 958 | } |
959 | 959 | } |
960 | 960 |