Skip to content

Commit

Permalink
Remove always true/false occurrences
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandre-daubois committed Oct 23, 2024
1 parent 9e060ba commit d7d2de4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Transport/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ public static function fromDsn(#[\SensitiveParameter] string $dsn, array $option
}

if (isset($params['host'])) {
$options['host'] = $params['host'] ?? $options['host'];
$options['host'] = $params['host'];
$options['port'] = $params['port'] ?? $options['port'];

$pathParts = explode('/', rtrim($params['path'] ?? '', '/'));
Expand Down

0 comments on commit d7d2de4

Please sign in to comment.