Skip to content

Commit

Permalink
fix the bugs while di:compile the codes
Browse files Browse the repository at this point in the history
  • Loading branch information
php-cuong committed Nov 21, 2017
1 parent 1c6363e commit fd073db
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Model/ResourceModel/Faq/Grid/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @Author Ngo Quang Cuong <[email protected]>
* @Date 2016-12-16 02:06:33
* @Last modified by: nquangcuong
* @Last Modified time: 2017-01-05 09:00:41
* @Last Modified time: 2017-11-22 02:59:22
*/

namespace PHPCuong\Faq\Model\ResourceModel\Faq\Grid;
Expand Down Expand Up @@ -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
) {
parent::__construct($entityFactory, $logger, $fetchStrategy, $eventManager, $connection, $resource);
Expand Down
7 changes: 3 additions & 4 deletions Model/ResourceModel/Faqcat.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @Author Ngo Quang Cuong <[email protected]>
* @Date 2016-12-19 22:03:35
* @Last modified by: nquangcuong
* @Last Modified time: 2017-11-11 14:15:21
* @Last Modified time: 2017-11-22 02:52:40
*/

namespace PHPCuong\Faq\Model\ResourceModel;
Expand Down Expand Up @@ -59,13 +59,12 @@ public function __construct(
Context $context,
StoreManagerInterface $storeManager,
Urlkey $urlKey,
DirectoryList $directoryList,
$connectionName = null
DirectoryList $directoryList
) {
$this->_urlKey = $urlKey;
$this->_storeManager = $storeManager;
$this->_directoryList = $directoryList;
parent::__construct($context, $connectionName);
parent::__construct($context);
}

/**
Expand Down
4 changes: 2 additions & 2 deletions Model/ResourceModel/Faqcat/Grid/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @Author Ngo Quang Cuong <[email protected]>
* @Date 2016-12-19 22:07:42
* @Last modified by: nquangcuong
* @Last Modified time: 2017-01-05 08:51:42
* @Last Modified time: 2017-11-22 02:59:06
*/

namespace PHPCuong\Faq\Model\ResourceModel\Faqcat\Grid;
Expand Down Expand Up @@ -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
) {
parent::__construct($entityFactory, $logger, $fetchStrategy, $eventManager, $connection, $resource);
Expand Down

0 comments on commit fd073db

Please sign in to comment.