Skip to content

Commit 203661b

Browse files
committed
more ci cleanup
1 parent 0044c2b commit 203661b

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

app/Providers/RestifyServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class RestifyServiceProvider extends RestifyApplicationServiceProvider
1313
{
1414
protected function gate(): void
1515
{
16-
Gate::define('viewRestify', fn($user = null) => true);
16+
Gate::define('viewRestify', fn ($user = null) => true);
1717
}
1818

1919
protected function routes(): void

config/restify.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
'frontend_app_url' => env('FRONTEND_APP_URL', env('APP_URL')),
1111
'password_reset_url' => env('FRONTEND_APP_URL') . '/password/reset?token={token}&email={email}',
1212
'user_verify_url' => env('FRONTEND_APP_URL') . '/verify/{id}/{emailHash}',
13-
'user_model' => '\\App\\Models\\User',
13+
'user_model' => \App\Models\User::class,
1414
'token_ttl' => env('RESTIFY_TOKEN_TTL', null),
1515
],
1616

config/sanctum.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
|
1616
*/
1717

18-
'stateful' => explode(',', env('SANCTUM_STATEFUL_DOMAINS', '')),
18+
'stateful' => explode(',', (string) env('SANCTUM_STATEFUL_DOMAINS', '')),
1919

2020
/*
2121
|--------------------------------------------------------------------------

0 commit comments

Comments
 (0)