Completed
Push — master ( 49cc2f...b2199f )
by
unknown
02:53
created
src/MultiLang/TextsTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,10 +24,10 @@
 block discarded – undo
24 24
             $options['scope'] = $request->scope;
25 25
         }
26 26
 
27
-        $texts = Text::where(function ($q) use ($options) {
27
+        $texts = Text::where(function($q) use ($options) {
28 28
             foreach ($options as $k => $v) {
29 29
                 if ($k == 'keyword') {
30
-                    $q->where(function ($query) use ($v) {
30
+                    $q->where(function($query) use ($v) {
31 31
                         $query->where('key', 'LIKE', '%' . $v . '%')->orWhere('value', 'LIKE', '%' . $v . '%');
32 32
                     });
33 33
                 } else {
Please login to merge, or discard this patch.