Skip to content

Commit b2dbbaf

Browse files
authored
[9.x] remove null since default parameter is null (laravel#5779)
1 parent 4db44f8 commit b2dbbaf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/database.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,15 +129,15 @@
129129
'default' => [
130130
'url' => env('REDIS_URL'),
131131
'host' => env('REDIS_HOST', '127.0.0.1'),
132-
'password' => env('REDIS_PASSWORD', null),
132+
'password' => env('REDIS_PASSWORD'),
133133
'port' => env('REDIS_PORT', '6379'),
134134
'database' => env('REDIS_DB', '0'),
135135
],
136136

137137
'cache' => [
138138
'url' => env('REDIS_URL'),
139139
'host' => env('REDIS_HOST', '127.0.0.1'),
140-
'password' => env('REDIS_PASSWORD', null),
140+
'password' => env('REDIS_PASSWORD'),
141141
'port' => env('REDIS_PORT', '6379'),
142142
'database' => env('REDIS_CACHE_DB', '1'),
143143
],

0 commit comments

Comments
 (0)