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 12a08ee commit 64e6731Copy full SHA for 64e6731
lib/internal/Magento/Framework/Escaper.php
@@ -291,7 +291,7 @@ public function escapeUrl($string)
291
*/
292
public function encodeUrlParam($string)
293
{
294
- return $this->getEscaper()->escapeUrl($string);
+ return $this->getEscaper()->escapeUrl((string)$string);
295
}
296
297
/**
@@ -330,7 +330,7 @@ function ($matches) {
330
331
public function escapeCss($string)
332
333
- return $this->getEscaper()->escapeCss($string);
+ return $this->getEscaper()->escapeCss((string)$string);
334
335
336
0 commit comments