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
Declaration of function getRegion() : string
should be compatible with function getRegion() : null|string[]
defined in /code/Api/Data/AddressAdapterInterface.php:22
Open
Open
public function getRegion()
- 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
Possibly zero references to use statement for classlike/namespace InfoInterface
(\Magento\Payment\Model\InfoInterface)
Open
Open
use Magento\Payment\Model\InfoInterface;
- 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
Assigning \Magento\Vault\Api\Data\PaymentTokenFactoryInterface
to property but \PagBank\PaymentMagento\Gateway\Response\VaultDetailsHandler->paymentTokenFactory
is \Magento\Vault\Api\Data\PaymentTokenInterfaceFactory
Open
Open
$this->paymentTokenFactory = $paymentTokenFactory;
- Exclude checks
Argument 1 (order)
is \PagBank\PaymentMagento\Controller\Notification\OrderRepository
but \PagBank\PaymentMagento\Controller\Notification\All::filterInvalidNotification()
takes \Magento\Sales\Model\OrderRepository
defined at /code/Controller/AbstractNotification.php:195
Open
Open
$isNotApplicable = $this->filterInvalidNotification($order);
- 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
Possibly zero references to use statement for classlike/namespace LaminasClient
(\Magento\Framework\HTTP\LaminasClient)
Open
Open
use Magento\Framework\HTTP\LaminasClient;
- Exclude checks
Returning type ?array{code:mixed,title:\Magento\Framework\Phrase,value:mixed}
but fetch()
is declared to return array
Open
Open
return $result;
- Exclude checks
Doc-block of $handler
in __construct
is phpdoc param type \Magento\Payment\Gateway\Response\HandlerInterface
which is not a permitted replacement of the nullable param type ?\Magento\Payment\Gateway\Response\HandlerInterface
declared in the signature ('?T' should be documented as 'T|null' or '?T') Open
Open
* @param HandlerInterface $handler
- Exclude checks
Doc-block of $validator
in __construct
is phpdoc param type \Magento\Payment\Gateway\Validator\ValidatorInterface
which is not a permitted replacement of the nullable param type ?\Magento\Payment\Gateway\Validator\ValidatorInterface
declared in the signature ('?T' should be documented as 'T|null' or '?T') Open
Open
* @param ValidatorInterface $validator
- 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
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 $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
When fetching an array index from a value of type string,
found an array index of type 'expires_at',
but expected the index to be of type int
Open
Open
$data->setExpiresAt($session['expires_at']);
- Exclude checks