Passed
Push — main ( 893379...c57f14 )
by Thierry
02:07
created
src/Db/Util.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -281,7 +281,7 @@  discard block
 block discarded – undo
281 281
         $col = $value['col'];
282 282
         $prefix = '';
283 283
         if ($op === 'FIND_IN_SET') {
284
-            $prefix = $op .'(' . $this->driver->quote($value['val']) . ', ';
284
+            $prefix = $op . '(' . $this->driver->quote($value['val']) . ', ';
285 285
         }
286 286
         $condition = $this->getWhereCondition($value, $fields);
287 287
         if ($col !== '') {
@@ -310,7 +310,7 @@  discard block
 block discarded – undo
310 310
      */
311 311
     private function getMatchExpression(IndexEntity $index, int $i): string
312 312
     {
313
-        $columns = array_map(function ($column) {
313
+        $columns = array_map(function($column) {
314 314
             return $this->driver->escapeId($column);
315 315
         }, $index->columns);
316 316
         $match = $this->driver->quote($this->input->values['fulltext'][$i]);
@@ -337,7 +337,7 @@  discard block
 block discarded – undo
337 337
             }
338 338
         }
339 339
         foreach ((array) $this->input->values['where'] as $value) {
340
-            if (($value['col'] !== '' ||  $value['val'] !== '') &&
340
+            if (($value['col'] !== '' || $value['val'] !== '') &&
341 341
                 in_array($value['op'], $this->driver->operators())) {
342 342
                 $expressions[] = $this->getSelectExpression($value, $fields);
343 343
             }
Please login to merge, or discard this patch.