Skip to content

Conversation

@sr-expert
Copy link

Fix TypeError where getPaymentTitle() was returning Magento\Framework\Phrase instead of string. The method now properly converts the Phrase object to a string using type casting to match the expected return type.

Fixes: TypeError in Hyva\Theme\ViewModel\Sales\PaymentInfo::getPaymentTitle()

Fix TypeError where getPaymentTitle() was returning Magento\Framework\Phrase
instead of string. The method now properly converts the Phrase object to
a string using type casting to match the expected return type.

Fixes: TypeError in Hyva\Theme\ViewModel\Sales\PaymentInfo::getPaymentTitle()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant