File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Model/ResourceModel/Data/Grid Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ class Collection extends DataCollection implements SearchResultInterface
2626 * @param string $eventObject
2727 * @param string $resourceModel
2828 * @param string $model
29- * @param string |null $connection
29+ * @param \Magento\Framework\DB\Adapter\AdapterInterface |null $connection
3030 * @param \Magento\Framework\Model\ResourceModel\Db\AbstractDb $resource
3131 *
3232 * @SuppressWarnings(PHPMD.ExcessiveParameterList)
@@ -42,7 +42,7 @@ public function __construct(
4242 $ eventObject ,
4343 $ resourceModel ,
4444 $ model = 'Magento\Framework\View\Element\UiComponent\DataProvider\Document ' ,
45- $ connection = null ,
45+ \ Magento \ Framework \ DB \ Adapter \ AdapterInterface $ connection = null ,
4646 \Magento \Framework \Model \ResourceModel \Db \AbstractDb $ resource = null
4747 ) {
4848 parent ::__construct (
You can’t perform that action at this time.
0 commit comments