elisei/pagbank-payment-magento

View on GitHub
Model/Api/GuestInterestManagement.php

Summary

Maintainability
A
0 mins
Test Coverage

Declaration of function generatePagBankInterest(string $cartId, \PagBank\PaymentMagento\Api\Data\CreditCardBinInterface $creditCardBin, \PagBank\PaymentMagento\Api\Data\InstallmentSelectedInterface $installmentSelected) : array should be compatible with function generatePagBankInterest(string $cartId, \PagBank\PaymentMagento\Api\Data\CreditCardBinInterface $creditCardBin, \PagBank\PaymentMagento\Api\Data\InstallmentSelectedInterface $installmentSelected) : \Magento\Quote\Api\Data\TotalsInterface defined in /code/Api/GuestInterestManagementInterface.php:31
Open

    public function generatePagBankInterest(
Severity: Minor
Found in Model/Api/GuestInterestManagement.php by phan

Returning type \Magento\Quote\Api\Data\TotalsInterface but generatePagBankInterest() is declared to return array
Open

        return $this->cardNumberInterface->generatePagBankInterest(
Severity: Minor
Found in Model/Api/GuestInterestManagement.php by phan

There are no issues that match your filters.

Category
Status