@@ -14,7 +14,7 @@ |
||
| 14 | 14 | */ |
| 15 | 15 | public function boot() |
| 16 | 16 | { |
| 17 | - Bouncer::seeder(function () { |
|
| 17 | + Bouncer::seeder(function() { |
|
| 18 | 18 | Bouncer::allow('available')->to(''); |
| 19 | 19 | Bouncer::allow('unavailable')->to(''); |
| 20 | 20 | |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | */ |
| 17 | 17 | public function handle($request, Closure $next, $role) |
| 18 | 18 | { |
| 19 | - if (! auth()->user()->is($role)) { |
|
| 19 | + if (!auth()->user()->is($role)) { |
|
| 20 | 20 | return redirect()->back(302); |
| 21 | 21 | } |
| 22 | 22 | |
@@ -3,8 +3,6 @@ |
||
| 3 | 3 | namespace App\Http\Controllers; |
| 4 | 4 | |
| 5 | 5 | use App\Customer; |
| 6 | -use Illuminate\Http\Request; |
|
| 7 | - |
|
| 8 | 6 | use App\Http\Requests; |
| 9 | 7 | |
| 10 | 8 | class CustomersController extends Controller |