Completed
Pull Request — master (#32)
by Glenn
03:58 queued 01:43
created
app/Http/Controllers/StaffController.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -9,14 +9,14 @@
 block discarded – undo
9 9
 class StaffController extends Controller
10 10
 {
11 11
 
12
-	public function index()
13
-	{
14
-    	return view('users/index');
12
+    public function index()
13
+    {
14
+        return view('users/index');
15 15
     }
16 16
 
17 17
 
18 18
     public function profile()
19 19
     {
20
-    	return view('users/profile');
20
+        return view('users/profile');
21 21
     }
22 22
 }
Please login to merge, or discard this patch.
app/Http/Controllers/Auth/AuthController.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      */
38 38
     public function __construct()
39 39
     {
40
-        $this->middleware($this->guestMiddleware(), ['except' => 'logout']);
40
+        $this->middleware($this->guestMiddleware(), [ 'except' => 'logout' ]);
41 41
     }
42 42
 
43 43
     /**
@@ -65,10 +65,10 @@  discard block
 block discarded – undo
65 65
     protected function create(array $data)
66 66
     {
67 67
         return User::create([
68
-            'fname' => $data['fname'],
69
-            'name' => $data['name'],
70
-            'email' => $data['email'],
71
-            'password' => bcrypt($data['password']),
68
+            'fname' => $data[ 'fname' ],
69
+            'name' => $data[ 'name' ],
70
+            'email' => $data[ 'email' ],
71
+            'password' => bcrypt($data[ 'password' ]),
72 72
         ]);
73 73
     }
74 74
 }
Please login to merge, or discard this patch.