diff --git a/src/UrlInfo.php b/src/UrlInfo.php index b567987..be2779f 100644 --- a/src/UrlInfo.php +++ b/src/UrlInfo.php @@ -3,7 +3,7 @@ * @copyright 2019-2020 Dicr http://dicr.org * @author Igor A Tarasov * @license proprietary - * @version 02.12.20 23:50:13 + * @version 02.12.20 23:56:58 */ declare(strict_types = 1); @@ -485,7 +485,7 @@ public function getRequestUri(bool $fragment = true) : ?string } // добавляем параметры - $query = $this->getQuery(true); + $query = (string)$this->getQuery(true); if ($query !== '') { $uri .= '?' . $query; }