Passed
Push — task/add-applicants-and-applic... ( 1613a7...514472 )
by Chris
03:42
created
app/Http/Controllers/Admin/ApplicantCrudController.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
             'searchLogic' => function ($query, $column, $searchTerm) {
41 41
                 $query->orWhereHas('user', function ($q) use ($searchTerm) {
42 42
                     $q->where('first_name', 'ilike', '%'.$searchTerm.'%')
43
-                      ->orWhere('last_name', 'ilike', '%'.$searchTerm.'%');
43
+                        ->orWhere('last_name', 'ilike', '%'.$searchTerm.'%');
44 44
                 });
45 45
             }
46 46
         ]);
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -39,8 +39,8 @@  discard block
 block discarded – undo
39 39
             'label' => 'Full Name',
40 40
             'searchLogic' => function ($query, $column, $searchTerm) {
41 41
                 $query->orWhereHas('user', function ($q) use ($searchTerm) {
42
-                    $q->where('first_name', 'ilike', '%'.$searchTerm.'%')
43
-                      ->orWhere('last_name', 'ilike', '%'.$searchTerm.'%');
42
+                    $q->where('first_name', 'ilike', '%' . $searchTerm . '%')
43
+                      ->orWhere('last_name', 'ilike', '%' . $searchTerm . '%');
44 44
                 });
45 45
             }
46 46
         ]);
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
             'label' => 'Email',
52 52
             'searchLogic' => function ($query, $column, $searchTerm) {
53 53
                 $query->orWhereHas('user', function ($q) use ($searchTerm) {
54
-                    $q->where('email', 'ilike', '%'.$searchTerm.'%');
54
+                    $q->where('email', 'ilike', '%' . $searchTerm . '%');
55 55
                 });
56 56
             }
57 57
         ]);
Please login to merge, or discard this patch.