Skip to content

Commit 9f2af73

Browse files
tufahuihor-sviziev
andauthored
Apply suggestions from code review
Remove return types due to backward compatibility Co-authored-by: Ihor Sviziev <ihor-sviziev@users.noreply.github.com>
1 parent a8c323c commit 9f2af73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/internal/Magento/Framework/Escaper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ public function escapeUrl($string)
289289
* @return string
290290
* @since 101.0.0
291291
*/
292-
public function encodeUrlParam(string $string): string
292+
public function encodeUrlParam(string $string)
293293
{
294294
return $this->getEscaper()->escapeUrl($string);
295295
}
@@ -328,7 +328,7 @@ function ($matches) {
328328
* @return string
329329
* @since 101.0.0
330330
*/
331-
public function escapeCss(string $string): string
331+
public function escapeCss(string $string)
332332
{
333333
return $this->getEscaper()->escapeCss($string);
334334
}

0 commit comments

Comments
 (0)