@@ -168,8 +168,7 @@ |
||
| 168 | 168 | } |
| 169 | 169 | if ($this->isMail($value)) { |
| 170 | 170 | return '<a href="' . $this->html("mailto:$value") . '">' . $value . '</a>'; |
| 171 | - } |
|
| 172 | - elseif ($this->isUrl($value)) { |
|
| 171 | + } elseif ($this->isUrl($value)) { |
|
| 173 | 172 | // IE 11 and all modern browsers hide referrer |
| 174 | 173 | return '<a href="' . $this->html($value) . '"' . $this->blankTarget() . '>' . $value . '</a>'; |
| 175 | 174 | } |
@@ -225,7 +225,7 @@ discard block |
||
| 225 | 225 | $col = $value['col']; |
| 226 | 226 | $prefix = ''; |
| 227 | 227 | if ($op === 'FIND_IN_SET') { |
| 228 | - $prefix = $op .'(' . $this->driver->quote($value['val']) . ', '; |
|
| 228 | + $prefix = $op . '(' . $this->driver->quote($value['val']) . ', '; |
|
| 229 | 229 | } |
| 230 | 230 | $condition = $this->getWhereCondition($value, $fields); |
| 231 | 231 | if ($col !== '') { |
@@ -254,7 +254,7 @@ discard block |
||
| 254 | 254 | */ |
| 255 | 255 | private function getMatchExpression(IndexEntity $index, int $i): string |
| 256 | 256 | { |
| 257 | - $columns = array_map(function ($column) { |
|
| 257 | + $columns = array_map(function($column) { |
|
| 258 | 258 | return $this->driver->escapeId($column); |
| 259 | 259 | }, $index->columns); |
| 260 | 260 | $match = $this->driver->quote($this->input->values['fulltext'][$i]); |
@@ -281,7 +281,7 @@ discard block |
||
| 281 | 281 | } |
| 282 | 282 | } |
| 283 | 283 | foreach ((array) $this->input->values['where'] as $key => $value) { |
| 284 | - if (($value['col'] !== '' || $value['val'] !== '') && |
|
| 284 | + if (($value['col'] !== '' || $value['val'] !== '') && |
|
| 285 | 285 | in_array($value['op'], $this->driver->operators())) { |
| 286 | 286 | $expressions[] = $this->getSelectExpression($value, $fields); |
| 287 | 287 | } |