src/URI.php
public function getPath()
	{
		$result = $this->getDirectory();

		if ($result !== '' && substr($result, -1) !== static::DELIMITER_PATH && $this->getFile()) {
			$result .= static::DELIMITER_PATH;
		}

		return $result . $this->getFile();
	}
public function getPath()
	{
		$result = $this->getDirectory();

		if ($result !== '' && substr($result, -1) !== static::DELIMITER_PATH && $this->getFile()) {
			$result .= static::DELIMITER_PATH;
		}

		return $result . $this->getFile();
	}
{@inheritdoc}