@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function createApplication() |
| 15 | 15 | { |
| 16 | - $app = require __DIR__.'/../bootstrap/app.php'; |
|
| 16 | + $app = require __DIR__ . '/../bootstrap/app.php'; |
|
| 17 | 17 | |
| 18 | 18 | $app->make(Kernel::class)->bootstrap(); |
| 19 | 19 | |
@@ -13,6 +13,6 @@ |
||
| 13 | 13 | | |
| 14 | 14 | */ |
| 15 | 15 | |
| 16 | -Route::get('/', function () { |
|
| 16 | +Route::get('/', function() { |
|
| 17 | 17 | return view('welcome'); |
| 18 | 18 | }); |
@@ -13,6 +13,6 @@ |
||
| 13 | 13 | | |
| 14 | 14 | */ |
| 15 | 15 | |
| 16 | -Broadcast::channel('App.Models.User.{id}', function ($user, $id) { |
|
| 16 | +Broadcast::channel('App.Models.User.{id}', function($user, $id) { |
|
| 17 | 17 | return (int) $user->id === (int) $id; |
| 18 | 18 | }); |
@@ -14,6 +14,6 @@ |
||
| 14 | 14 | | |
| 15 | 15 | */ |
| 16 | 16 | |
| 17 | -Artisan::command('inspire', function () { |
|
| 17 | +Artisan::command('inspire', function() { |
|
| 18 | 18 | $this->comment(Inspiring::quote()); |
| 19 | 19 | })->purpose('Display an inspiring quote'); |
@@ -14,6 +14,6 @@ |
||
| 14 | 14 | | |
| 15 | 15 | */ |
| 16 | 16 | |
| 17 | -Route::middleware('auth:sanctum')->get('/user', function (Request $request) { |
|
| 17 | +Route::middleware('auth:sanctum')->get('/user', function(Request $request) { |
|
| 18 | 18 | return $request->user(); |
| 19 | 19 | }); |
@@ -125,7 +125,7 @@ |
||
| 125 | 125 | |
| 126 | 126 | 'options' => [ |
| 127 | 127 | 'cluster' => env('REDIS_CLUSTER', 'redis'), |
| 128 | - 'prefix' => env('REDIS_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_database_'), |
|
| 128 | + 'prefix' => env('REDIS_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_') . '_database_'), |
|
| 129 | 129 | ], |
| 130 | 130 | |
| 131 | 131 | 'default' => [ |
@@ -36,7 +36,7 @@ |
||
| 36 | 36 | 'secret' => env('PUSHER_APP_SECRET'), |
| 37 | 37 | 'app_id' => env('PUSHER_APP_ID'), |
| 38 | 38 | 'options' => [ |
| 39 | - 'host' => env('PUSHER_HOST', 'api-'.env('PUSHER_APP_CLUSTER', 'mt1').'.pusher.com'), |
|
| 39 | + 'host' => env('PUSHER_HOST', 'api-' . env('PUSHER_APP_CLUSTER', 'mt1') . '.pusher.com'), |
|
| 40 | 40 | 'port' => env('PUSHER_PORT', 443), |
| 41 | 41 | 'scheme' => env('PUSHER_SCHEME', 'https'), |
| 42 | 42 | 'encrypted' => true, |
@@ -85,7 +85,7 @@ |
||
| 85 | 85 | 'handler_with' => [ |
| 86 | 86 | 'host' => env('PAPERTRAIL_URL'), |
| 87 | 87 | 'port' => env('PAPERTRAIL_PORT'), |
| 88 | - 'connectionString' => 'tls://'.env('PAPERTRAIL_URL').':'.env('PAPERTRAIL_PORT'), |
|
| 88 | + 'connectionString' => 'tls://' . env('PAPERTRAIL_URL') . ':' . env('PAPERTRAIL_PORT'), |
|
| 89 | 89 | ], |
| 90 | 90 | ], |
| 91 | 91 | |
@@ -105,6 +105,6 @@ |
||
| 105 | 105 | | |
| 106 | 106 | */ |
| 107 | 107 | |
| 108 | - 'prefix' => env('CACHE_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_cache_'), |
|
| 108 | + 'prefix' => env('CACHE_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_') . '_cache_'), |
|
| 109 | 109 | |
| 110 | 110 | ]; |