Skip to content

Commit b70a763

Browse files
author
Roger
committed
update code
1 parent d87d202 commit b70a763

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/PageCache/Model/App/Request/Http/IdentifierForSave.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function getValue()
5656
*/
5757
private function reconstructUrl($url)
5858
{
59-
$baseUrl = strtok($url, '?');
59+
$baseUrl = strtok((string)$url, '?');
6060
$query = $this->request->getQuery()->toArray();
6161
if (!empty($query)) {
6262
ksort($query);

0 commit comments

Comments
 (0)