Upgrade to 3.0.1

This commit is contained in:
Bastian Allgeier
2019-02-05 11:26:42 +01:00
parent 1dc0eeb768
commit f76ee1bb14
39 changed files with 4217 additions and 65 deletions

View File

@@ -516,7 +516,7 @@ class Uri
$slash = false;
}
$path = $this->path->toString($slash) . $this->params->toString($slash);
$path = $this->path->toString($slash) . $this->params->toString(true);
if ($this->slash && $slash === true) {
$path .= '/';

View File

@@ -250,10 +250,10 @@ class Url
* Smart resolver for internal and external urls
*
* @param string $path
* @param array $options
* @param $options
* @return string
*/
public static function to(string $path = null, array $options = null): string
public static function to(string $path = null, $options = null): string
{
// keep relative urls
if (substr($path, 0, 2) === './' || substr($path, 0, 3) === '../') {