From 5c4a990c5d2e956204c89c7142a793a37aa69385 Mon Sep 17 00:00:00 2001 From: php-cuong Date: Wed, 22 Nov 2017 03:09:48 +0700 Subject: [PATCH] fix the bugs while di:compile the codes --- Model/ResourceModel/Region/Grid/Collection.php | 4 ++-- composer.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Model/ResourceModel/Region/Grid/Collection.php b/Model/ResourceModel/Region/Grid/Collection.php index 9d0ed03..03d0026 100644 --- a/Model/ResourceModel/Region/Grid/Collection.php +++ b/Model/ResourceModel/Region/Grid/Collection.php @@ -5,7 +5,7 @@ * @Author Ngo Quang Cuong * @Date 2016-12-11 23:53:28 * @Last modified by: nquangcuong - * @Last Modified time: 2016-12-16 02:07:17 + * @Last Modified time: 2017-11-22 03:03:03 */ namespace PHPCuong\Region\Model\ResourceModel\Region\Grid; @@ -44,7 +44,7 @@ public function __construct( $eventObject, $resourceModel, $model = 'Magento\Framework\View\Element\UiComponent\DataProvider\Document', - $connection = null, + \Magento\Framework\DB\Adapter\AdapterInterface $connection = null, \Magento\Framework\Model\ResourceModel\Db\AbstractDb $resource = null ) { diff --git a/composer.json b/composer.json index b529fec..9869780 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ "magento/framework": "100.0.*|100.1.*|101.0.*" }, "type": "magento2-module", - "version": "2.2.0", + "version": "2.2.1", "license": [ "OSL-3.0", "AFL-3.0"