diff --git a/Cron/Clean.php b/Cron/Clean.php index c694859..6cad0db 100644 --- a/Cron/Clean.php +++ b/Cron/Clean.php @@ -27,6 +27,11 @@ class Clean */ protected $resourceConnection; + /** + * @var \Magento\Framework\DB\Adapter\AdapterInterface|null + */ + protected $connection; + /** * @var ScopeConfigInterface */ @@ -50,6 +55,11 @@ public function __construct( $this->scopeConfig = $scopeConfig; } + /** + * Get days to clean + * + * @return int + */ public function getDaysToClean() { $daysToCleanConfig = $this->scopeConfig->getValue(self::CONFIG_DAYS_TO_CLEAN, ScopeInterface::SCOPE_STORE);