Skip to content

Commit 195faa1

Browse files
antonkomarevtaylorotwell
authored andcommitted
Fix types consistency in database config (laravel#5191)
1 parent 846f7a1 commit 195faa1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

config/database.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -130,16 +130,16 @@
130130
'url' => env('REDIS_URL'),
131131
'host' => env('REDIS_HOST', '127.0.0.1'),
132132
'password' => env('REDIS_PASSWORD', null),
133-
'port' => env('REDIS_PORT', 6379),
134-
'database' => env('REDIS_DB', 0),
133+
'port' => env('REDIS_PORT', '6379'),
134+
'database' => env('REDIS_DB', '0'),
135135
],
136136

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

145145
],

0 commit comments

Comments
 (0)