Passed
Push — task/jwt-implementation ( 86d60b...8dcbe1 )
by
unknown
05:29
created
app/Http/Requests/BatchUpdateExperienceSkill.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,8 +41,8 @@
 block discarded – undo
41 41
     public function rules()
42 42
     {
43 43
         return [
44
-          '*.id' => 'required|exists:App\Models\ExperienceSkill,id',
45
-          '*.justification' => 'nullable|string',
44
+            '*.id' => 'required|exists:App\Models\ExperienceSkill,id',
45
+            '*.justification' => 'nullable|string',
46 46
         ];
47 47
     }
48 48
 }
Please login to merge, or discard this patch.
app/Http/Controllers/Api/ApplicantController.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,8 +20,8 @@
 block discarded – undo
20 20
      */
21 21
     public function getProfile(Applicant $applicant)
22 22
     {
23
-          $applicant->loadMissing('applicant_classifications');
24
-          return new ApplicantProfileResource($applicant);
23
+            $applicant->loadMissing('applicant_classifications');
24
+            return new ApplicantProfileResource($applicant);
25 25
     }
26 26
 
27 27
     /**
Please login to merge, or discard this patch.
app/Http/Controllers/Auth/JWTLoginController.php 1 patch
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -11,41 +11,41 @@
 block discarded – undo
11 11
 
12 12
 class JWTLoginController extends Controller
13 13
 {
14
-  public function __construct()
15
-  {
14
+    public function __construct()
15
+    {
16 16
     $this->middleware('guest')->except('logout');
17 17
     $this->middleware('guest:jwt')->except('logout');
18 18
     $this->middleware('guest:jwt')->except('logout');
19
-  }
19
+    }
20 20
 
21
-  public function showLoginForm()
22
-  {
21
+    public function showLoginForm()
22
+    {
23 23
     if (WhichPortal::isManagerPortal()) {
24
-      $home_url = route('manager.home');
24
+        $home_url = route('manager.home');
25 25
     } elseif (WhichPortal::isHrPortal()) {
26
-      $home_url = route('hr_advisor.home');
26
+        $home_url = route('hr_advisor.home');
27 27
     } else {
28
-      $home_url = route('home');
28
+        $home_url = route('home');
29 29
     };
30 30
 
31 31
     return view('auth/login', [
32
-      'routes' => $this->auth_routes(),
33
-      'login' => Lang::get('common/auth/login'),
34
-      'home_url' => $home_url,
32
+        'routes' => $this->auth_routes(),
33
+        'login' => Lang::get('common/auth/login'),
34
+        'home_url' => $home_url,
35 35
     ]);
36
-  }
36
+    }
37 37
 
38
-  public function adminLogin(Request $request)
39
-  {
38
+    public function adminLogin(Request $request)
39
+    {
40 40
     $this->validate($request, [
41
-      'email'   => 'required|email',
42
-      'password' => 'required|min:6'
41
+        'email'   => 'required|email',
42
+        'password' => 'required|min:6'
43 43
     ]);
44 44
 
45 45
     if (Auth::guard('jwtusers')->attempt(['email' => $request->email, 'password' => $request->password], $request->get('remember'))) {
46 46
 
47
-      return redirect()->intended('/admin');
47
+        return redirect()->intended('/admin');
48 48
     }
49 49
     return back()->withInput($request->only('email', 'remember'));
50
-  }
50
+    }
51 51
 }
Please login to merge, or discard this patch.