diff --git a/Model/ResourceModel/Report/Collection.php b/Model/ResourceModel/Report/Collection.php index a9c5dbc..7caed60 100644 --- a/Model/ResourceModel/Report/Collection.php +++ b/Model/ResourceModel/Report/Collection.php @@ -78,7 +78,7 @@ protected function _construct() * @param \Psr\Log\LoggerInterface $logger * @param \Magento\Framework\Data\Collection\Db\FetchStrategyInterface $fetchStrategy * @param \Magento\Framework\Event\ManagerInterface $eventManager - * @param \Zend_Db_Adapter_Abstract $connection + * @param \Magento\Framework\Model\ResourceModel\Db\AbstractDb $resource */ public function __construct( @@ -88,7 +88,7 @@ public function __construct( \Magento\Framework\Event\ManagerInterface $eventManager, \Magento\Store\Model\StoreManagerInterface $storeManager, \Magento\Framework\Stdlib\DateTime\Timezone $stdTimezone, - $connection = null, + \Magento\Framework\DB\Adapter\AdapterInterface $connection = null, \Magento\Framework\Model\ResourceModel\Db\AbstractDb $resource = null ) { parent::__construct($entityFactory, $logger, $fetchStrategy, $eventManager, $connection, $resource);