1
0
mirror of https://github.com/YGGverse/net-php.git synced 2025-01-11 23:48:02 +00:00

fix missed path slash

This commit is contained in:
yggverse 2024-04-06 02:33:09 +03:00
parent 92eb9b3ba2
commit 16f90cb23b

View File

@ -247,6 +247,11 @@ class Address
if ($path = $this->getPath()) if ($path = $this->getPath())
{ {
if (!str_starts_with($path, $this->getSeparator()))
{
$address .= $this->getSeparator();
}
$address .= $path; $address .= $path;
} }