Showing 159 of 159 total issues
Doc-block of $cardTypeTransaction
in generateListInstallments
is phpdoc param type \PagBank\PaymentMagento\Api\Data\CardTypeTransactionInterface
which is not a permitted replacement of the nullable param type ?\PagBank\PaymentMagento\Api\Data\CardTypeTransactionInterface
declared in the signature ('?T' should be documented as 'T|null' or '?T') Open
Open
* @param \PagBank\PaymentMagento\Api\Data\CardTypeTransactionInterface $cardTypeTransaction
- Exclude checks
Returning type string
but getBoletoPDFLink()
is declared to return \Magento\Framework\Phrase
Open
Open
return $this->_urlBuilder->getBaseUrl(['_type' => \Magento\Framework\UrlInterface::URL_TYPE_MEDIA]).$path;
- Exclude checks
Possibly zero references to use statement for classlike/namespace PaymentDataObject
(\Magento\Payment\Gateway\Data\PaymentDataObject)
Open
Open
use Magento\Payment\Gateway\Data\PaymentDataObject;
- Exclude checks
Possibly zero references to use statement for classlike/namespace PaymentDataObject
(\Magento\Payment\Gateway\Data\PaymentDataObject)
Open
Open
use Magento\Payment\Gateway\Data\PaymentDataObject;
- Exclude checks
Declaration of function generatePagBankInterest(int $cartId, \PagBank\PaymentMagento\Api\Data\CreditCardBinInterface $creditCardBin, \PagBank\PaymentMagento\Api\Data\InstallmentSelectedInterface $installmentSelected) : array
should be compatible with function generatePagBankInterest(int $cartId, \PagBank\PaymentMagento\Api\Data\CreditCardBinInterface $creditCardBin, \PagBank\PaymentMagento\Api\Data\InstallmentSelectedInterface $installmentSelected) : \Magento\Quote\Api\Data\TotalsInterface
defined in /code/Api/InterestManagementInterface.php:31
Open
Open
public function generatePagBankInterest(
- Exclude checks
Possibly zero references to use statement for classlike/namespace InfoInterface
(\Magento\Payment\Model\InfoInterface)
Open
Open
use Magento\Payment\Model\InfoInterface;
- Exclude checks
Saw unextractable annotation for comment '* @return $proceed'
Open
Open
* @return $proceed
- Exclude checks
Possibly zero references to use statement for classlike/namespace PaymentDataObject
(\Magento\Payment\Gateway\Data\PaymentDataObject)
Open
Open
use Magento\Payment\Gateway\Data\PaymentDataObject;
- Exclude checks
Possibly zero references to use statement for classlike/namespace PaymentDataObject
(\Magento\Payment\Gateway\Data\PaymentDataObject)
Open
Open
use Magento\Payment\Gateway\Data\PaymentDataObject;
- Exclude checks
Doc-block of getCreditCardType
has declared return type string
which is not a permitted replacement of the nullable return type ?string
declared in the signature ('?T' should be documented as 'T|null' or '?T') Open
Open
* @return string
- Exclude checks
When fetching an array index from a value of type string,
found an array index of type 'session',
but expected the index to be of type int
Open
Open
$data->setSessionId($session['session']);
- Exclude checks
Possibly zero references to use statement for classlike/namespace PaymentDataObject
(\Magento\Payment\Gateway\Data\PaymentDataObject)
Open
Open
use Magento\Payment\Gateway\Data\PaymentDataObject;
- Exclude checks
Doc-block of $configPix
in __construct
contains phpdoc param type \PagBank\PaymentMagento\Gateway\Request\Config
which is incompatible with the param type \PagBank\PaymentMagento\Gateway\Config\ConfigPix
declared in the signature Open
Open
* @param Config $configPix
- Exclude checks
Possibly zero references to use statement for classlike/namespace InfoInterface
(\Magento\Payment\Model\InfoInterface)
Open
Open
use Magento\Payment\Model\InfoInterface;
- Exclude checks
Assigning ?\Magento\Payment\Gateway\Response\HandlerInterface
to property but \PagBank\PaymentMagento\Gateway\Command\PaymentCommand->handler
is \Magento\Payment\Gateway\Response\HandlerInterface
Open
Open
$this->handler = $handler;
- Exclude checks
Possibly zero references to use statement for classlike/namespace Phrase
(\Magento\Framework\Phrase)
Open
Open
use Magento\Framework\Phrase;
- Exclude checks
Returning type string
but setExpiresAt()
is declared to return \PagBank\PaymentMagento\Api\Data\ThreeDsSessionDataInterface|\PagBank\PaymentMagento\Model\Api\Data\Session|static
Open
Open
return $this->expiresAt = $expiresAt;
- Exclude checks
Returning type \Magento\Quote\Api\Data\TotalsInterface
but generatePagBankInterest()
is declared to return array
Open
Open
return $this->cardNumberInterface->generatePagBankInterest(
- Exclude checks
Doc-block of $cardTypeTransaction
in generateListInstallments
is phpdoc param type \PagBank\PaymentMagento\Api\Data\CardTypeTransactionInterface
which is not a permitted replacement of the nullable param type ?\PagBank\PaymentMagento\Api\Data\CardTypeTransactionInterface
declared in the signature ('?T' should be documented as 'T|null' or '?T') Open
Open
* @param \PagBank\PaymentMagento\Api\Data\CardTypeTransactionInterface $cardTypeTransaction
- Exclude checks
Call to method getState
on non-class type null
Open
Open
__('Update not available because the initial state is incompatible: %1', $order->getState())
- Exclude checks