Model/NotificationMethod.php
Method updateOrderStatus
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function updateOrderStatus()
{
$this->_library->setEnvironment();
$this->_library->setCharset();
$this->_library->setLog();
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
\Magento\Framework\App\Config\ScopeConfigInterface $scopeConfigInterface,
\Magento\Sales\Api\OrderRepositoryInterface $order,
\Magento\Sales\Api\Data\OrderStatusHistoryInterface $history,
\Magento\Framework\Module\ModuleList $moduleList,
\Magento\Framework\Model\ResourceModel\Db\Context $context