Skip to content

Commit 1a0443d

Browse files
committed
MC-16003: Escape translation strings.
Revert type hint due to SVC failure.
1 parent 11ab2e5 commit 1a0443d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/Backend/Block/Store/Switcher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ public function getHintUrl()
582582
*
583583
* @return string
584584
*/
585-
public function getHintHtml(): string
585+
public function getHintHtml()
586586
{
587587
$html = '';
588588
$url = $this->getHintUrl();

app/code/Magento/Shipping/Block/Items.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public function getPrintAllShipmentsUrl($order)
7979
* @param \Magento\Sales\Model\Order\Shipment $shipment
8080
* @return string
8181
*/
82-
public function getCommentsHtml($shipment): string
82+
public function getCommentsHtml($shipment)
8383
{
8484
$html = '';
8585
$comments = $this->getChildBlock('shipment_comments');

0 commit comments

Comments
 (0)