Skip to content

Commit 3a46e6f

Browse files
committed
Format code with Pint
1 parent a1c04da commit 3a46e6f

File tree

16 files changed

+39
-16
lines changed

16 files changed

+39
-16
lines changed

app/Console/Kernel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ protected function schedule(Schedule $schedule)
2525
*/
2626
protected function commands()
2727
{
28-
$this->load(__DIR__.'/Commands');
28+
$this->load(__DIR__ . '/Commands');
2929

3030
require base_path('routes/console.php');
3131
}

app/Http/Middleware/Authenticate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class Authenticate extends Middleware
1414
*/
1515
protected function redirectTo($request)
1616
{
17-
if (! $request->expectsJson()) {
17+
if (!$request->expectsJson()) {
1818
return route('login');
1919
}
2020
}

app/Models/Request.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,13 @@
55
class Request
66
{
77
private string $url;
8+
89
private string $method;
10+
911
private array $headers = [];
12+
1013
private array $data = [];
14+
1115
private bool $multipartFormData = false;
1216

1317
private function __construct($url, $method)

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
},
1414
"require-dev": {
1515
"fakerphp/faker": "^1.9.1",
16-
"laravel/pint": "^1.0",
16+
"laravel/pint": "^1.1",
1717
"laravel/sail": "^1.0.1",
1818
"mockery/mockery": "^1.4.4",
1919
"nunomaduro/collision": "^6.1",

composer.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/app.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
|
4242
*/
4343

44-
'debug' => (bool) env('APP_DEBUG', false),
44+
'debug' => (bool)env('APP_DEBUG', false),
4545

4646
/*
4747
|--------------------------------------------------------------------------

config/broadcasting.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
'secret' => env('PUSHER_APP_SECRET'),
3737
'app_id' => env('PUSHER_APP_ID'),
3838
'options' => [
39-
'host' => env('PUSHER_HOST', 'api-'.env('PUSHER_APP_CLUSTER', 'mt1').'.pusher.com') ?: 'api-'.env('PUSHER_APP_CLUSTER', 'mt1').'.pusher.com',
39+
'host' => env('PUSHER_HOST', 'api-' . env('PUSHER_APP_CLUSTER', 'mt1') . '.pusher.com') ?: 'api-' . env('PUSHER_APP_CLUSTER', 'mt1') . '.pusher.com',
4040
'port' => env('PUSHER_PORT', 443),
4141
'scheme' => env('PUSHER_SCHEME', 'https'),
4242
'encrypted' => true,

config/cache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,6 @@
105105
|
106106
*/
107107

108-
'prefix' => env('CACHE_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_cache_'),
108+
'prefix' => env('CACHE_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_') . '_cache_'),
109109

110110
];

config/database.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125

126126
'options' => [
127127
'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_'),
129129
],
130130

131131
'default' => [

config/filesystems.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
'public' => [
4040
'driver' => 'local',
4141
'root' => storage_path('app/public'),
42-
'url' => env('APP_URL').'/storage',
42+
'url' => env('APP_URL') . '/storage',
4343
'visibility' => 'public',
4444
'throw' => false,
4545
],

0 commit comments

Comments
 (0)