Skip to content

Commit

Permalink
Fixing bug in usage of ltrim
Browse files Browse the repository at this point in the history
  • Loading branch information
viable-hartman committed May 22, 2020
1 parent a65de6b commit 14dc6dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Transport/Guzzle.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ protected function _getBaseUrl(Connection $connection): string
'scheme' => $this->_scheme,
'host' => $connection->getHost(),
'port' => $connection->getPort(),
'path' => \ltrim('/', $connection->getPath()),
'path' => \ltrim($connection->getPath(), '/'),
]);
}

Expand Down

0 comments on commit 14dc6dc

Please sign in to comment.