@@ -30,7 +30,7 @@ |
||
| 30 | 30 | // Database primary key |
| 31 | 31 | protected $primaryKey = 'user_id'; |
| 32 | 32 | |
| 33 | - protected $appends = [ 'full_name' ]; |
|
| 33 | + protected $appends = ['full_name']; |
|
| 34 | 34 | |
| 35 | 35 | public function getFullNameAttribute() |
| 36 | 36 | { |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | { |
| 27 | 27 | // Verify the user is logged in and has permissions for this page |
| 28 | 28 | $this->middleware('auth'); |
| 29 | - $this->middleware(function ($request, $next) { |
|
| 29 | + $this->middleware(function($request, $next) { |
|
| 30 | 30 | $this->user = auth()->user(); |
| 31 | 31 | $this->authorize('hasAccess', 'use_file_links'); |
| 32 | 32 | return $next($request); |