We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5538f64 commit e8301afCopy full SHA for e8301af
app/code/Magento/UrlRewrite/Controller/Router.php
@@ -5,6 +5,7 @@
5
*/
6
namespace Magento\UrlRewrite\Controller;
7
8
+use function GuzzleHttp\Psr7\str;
9
use Magento\Framework\App\RequestInterface;
10
use Magento\UrlRewrite\Controller\Adminhtml\Url\Rewrite;
11
use Magento\UrlRewrite\Model\UrlFinderInterface;
@@ -177,6 +178,6 @@ private function getNormalizedPathInfo(RequestInterface $request): string
177
178
$path = rtrim($path, '/');
179
}
180
- return $path;
181
+ return (string)$path;
182
183
0 commit comments