File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/code/Magento/ImportExport/Block/Adminhtml/Export Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -433,13 +433,13 @@ public function getRowUrl($row)
433433 * Prepare collection by setting page number, sorting etc..
434434 *
435435 * @param \Magento\Framework\Data\Collection $collection
436- * @return \Magento\Framework\Data\Collection|\Magento\ImportExport\ Model\ResourceModel\Export\AttributeGridCollection
436+ * @return \Magento\Eav\ Model\ResourceModel\Entity\Attribute\Collection
437437 */
438438 public function prepareCollection (\Magento \Framework \Data \Collection $ collection )
439439 {
440440 $ attributeGridCollection = $ this ->attributeGridCollectionFactory ->create ();
441441 $ gridCollection = $ attributeGridCollection ->setItems ($ collection ->getItems ());
442442 $ this ->setCollection ($ gridCollection );
443- return $ this -> getCollection () ;
443+ return $ collection ;
444444 }
445445}
You can’t perform that action at this time.
0 commit comments