mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-08 01:12:34 +00:00
Add phpstan level 7(#544)
This commit is contained in:
@ -105,6 +105,6 @@
|
||||
|
|
||||
*/
|
||||
|
||||
'prefix' => env('CACHE_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_cache_'),
|
||||
'prefix' => env('CACHE_PREFIX', Str::slug((string) env('APP_NAME', 'laravel'), '_').'_cache_'),
|
||||
|
||||
];
|
||||
|
@ -490,7 +490,7 @@
|
||||
*/
|
||||
'restricted_ip_addresses' => array_merge(
|
||||
['127.0.0.1', 'localhost', '0.0.0.0'],
|
||||
explode(',', env('RESTRICTED_IP_ADDRESSES', ''))
|
||||
explode(',', (string) env('RESTRICTED_IP_ADDRESSES', ''))
|
||||
),
|
||||
|
||||
/*
|
||||
|
@ -37,7 +37,7 @@
|
||||
|
||||
'sqlite' => [
|
||||
'driver' => 'sqlite',
|
||||
'database' => storage_path(env('DB_DATABASE', 'database.sqlite')),
|
||||
'database' => storage_path((string) env('DB_DATABASE', 'database.sqlite')),
|
||||
'prefix' => '',
|
||||
'foreign_key_constraints' => env('DB_FOREIGN_KEYS', true),
|
||||
],
|
||||
@ -124,7 +124,7 @@
|
||||
|
||||
'options' => [
|
||||
'cluster' => env('REDIS_CLUSTER', 'redis'),
|
||||
'prefix' => env('REDIS_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_database_'),
|
||||
'prefix' => env('REDIS_PREFIX', Str::slug((string) env('APP_NAME', 'laravel'), '_').'_database_'),
|
||||
],
|
||||
|
||||
'default' => [
|
||||
|
@ -128,7 +128,7 @@
|
||||
|
||||
'cookie' => env(
|
||||
'SESSION_COOKIE',
|
||||
Str::slug(env('APP_NAME', 'laravel'), '_').'_session'
|
||||
Str::slug((string) env('APP_NAME', 'laravel'), '_').'_session'
|
||||
),
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user