magento-engcom / import-export-improvements

Open Software License 3.0
31 stars 29 forks source link

Added $connection property to class #141

Closed maxalmonte14 closed 5 years ago

maxalmonte14 commented 6 years ago

Description (*)

This PR solves the problem addressed in https://github.com/magento-engcom/import-export-improvements/issues/137

Fixed Issues (if relevant)

  1. https://github.com/magento-engcom/import-export-improvements/issues/137: Clean Up Helper/Uploader.php

Manual testing scenarios (*)

Run ./vendor/bin/phpstan analyse app/code/Magento/DownloadableImportExport/Helper/Uploader.php as described in https://github.com/magento-engcom/import-export-improvements/issues/137, after this implementation the following errors shouldn't be present

------ --------------------------------------------------------------------------------------------------------------------------------
  Line   Uploader.php
 ------ --------------------------------------------------------------------------------------------------------------------------------
  63     Access to an undefined property Magento\DownloadableImportExport\Helper\Uploader::$connection.
 ------ --------------------------------------------------------------------------------------------------------------------------------

Contribution checklist (*)

dmanners commented 6 years ago

Hello, thank you for your pull request. I will start to process this PR and get back to you if I need any more information.

maxalmonte14 commented 6 years ago

Done. Interesting approach by the way!