Completed
Push — master ( a794d7...04d8d3 )
by Arjay
02:24
created
src/Engines/QueryBuilderEngine.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -272,7 +272,7 @@  discard block
 block discarded – undo
272 272
                         if ($this->request->isRegex($i)) {
273 273
 							if($this->isOracleSql()){
274 274
 								$this->query->whereRaw(' REGEXP_LIKE( LOWER('.$column.') , ?, \'i\' )', [$keyword]);
275
-							}else{
275
+							} else{
276 276
 								$this->query->whereRaw('LOWER(' . $column . ') REGEXP ?', [Str::lower($keyword)]);
277 277
 							}
278 278
                         } else {
@@ -283,7 +283,7 @@  discard block
 block discarded – undo
283 283
                         if ($this->request->isRegex($i)) {
284 284
 							if($this->isOracleSql()){
285 285
 								$this->query->whereRaw(' REGEXP_LIKE( '.$col.' , ? )', [$keyword]);
286
-							}else{
286
+							} else{
287 287
 								$this->query->whereRaw($col . ' REGEXP ?', [$keyword]);
288 288
 							}
289 289
                         } else {
Please login to merge, or discard this patch.