Skip to content

Commit 01bfe90

Browse files
author
Oleksandr Iegorov
committed
MAGETWO-98328: Update FedEx Shipping Dates behavior in Tracking Popup
1 parent 8b09a6f commit 01bfe90

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/code/Magento/Fedex/Plugin/Block/DataProviders/Tracking/ChangeTitle.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,15 @@
1616
class ChangeTitle
1717
{
1818
/**
19+
* Title modification in case if FedEx used as carrier
20+
*
1921
* @param Subject $subject
2022
* @param \Magento\Framework\Phrase|string $result
2123
* @param Status $trackingStatus
2224
* @return \Magento\Framework\Phrase|string
2325
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
2426
*/
25-
public function afterGetTitle(Subject $subject, $result, Status $trackingStatus): string
27+
public function afterGetTitle(Subject $subject, $result, Status $trackingStatus)
2628
{
2729
if ($trackingStatus->getCarrier() === Carrier::CODE) {
2830
$result = __('Expected Delivery:');

0 commit comments

Comments
 (0)