Controller/Notification/All.php
Avoid too many return
statements within this method. Open
Open
return $this->createResult(
200,
[
'error' => 200,
'message' => __('Not apply.'),
Avoid too many return
statements within this method. Open
Open
return $this->initProcess($psPaymentId);
Avoid too many return
statements within this method. Open
Open
return $result;
Argument 1 (order)
is \Magento\Framework\Controller\ResultInterface|\Magento\Sales\Model\OrderRepository
but \PagBank\PaymentMagento\Controller\Notification\All::processNotification()
takes \PagBank\PaymentMagento\Controller\Notification\OrderRepository
defined at /code/Controller/Notification/All.php:161
Open
Open
$process = $this->processNotification($order);
- 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