Skip to content

Commit

Permalink
Add variable to destructure list
Browse files Browse the repository at this point in the history
  • Loading branch information
pyr0hu authored Apr 6, 2024
1 parent d409e00 commit deebacb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Servers/Reverb/Publishing/RedisPubSubProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ protected function redisUrl(): string
{
$config = Config::get('database.redis.default');

[$host, $port, $query] = [
[$host, $port, $protocol, $query] = [
$config['host'],
$config['port'] ?: 6379,
Arr::get($config, 'scheme') === 'tls' ? 's' : '',
Expand Down

0 comments on commit deebacb

Please sign in to comment.