Passed
Push — main ( 1a0bc1...893379 )
by Thierry
01:55
created
src/Db/Traits/SelectUtilTrait.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
             }
Please login to merge, or discard this patch.