Skip to content

Commit

Permalink
chore: remove duplicate code (#240)
Browse files Browse the repository at this point in the history
  • Loading branch information
FeBe95 authored Aug 6, 2024
1 parent 3aafb84 commit f24dda9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Servers/Reverb/Publishing/RedisPubSubProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,6 @@ protected function redisUrl(): string
$parsed['scheme'] = $driver;
}

if (in_array($driver, ['tcp', 'tls'])) {
$parsed['scheme'] = $driver;
}

[$host, $port, $protocol, $query] = [
$parsed['host'],
$parsed['port'] ?: 6379,
Expand Down

0 comments on commit f24dda9

Please sign in to comment.