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 8b09a6f commit 01bfe90Copy full SHA for 01bfe90
app/code/Magento/Fedex/Plugin/Block/DataProviders/Tracking/ChangeTitle.php
@@ -16,13 +16,15 @@
16
class ChangeTitle
17
{
18
/**
19
+ * Title modification in case if FedEx used as carrier
20
+ *
21
* @param Subject $subject
22
* @param \Magento\Framework\Phrase|string $result
23
* @param Status $trackingStatus
24
* @return \Magento\Framework\Phrase|string
25
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
26
*/
- public function afterGetTitle(Subject $subject, $result, Status $trackingStatus): string
27
+ public function afterGetTitle(Subject $subject, $result, Status $trackingStatus)
28
29
if ($trackingStatus->getCarrier() === Carrier::CODE) {
30
$result = __('Expected Delivery:');
0 commit comments