Skip to content

Commit

Permalink
remove useless override
Browse files Browse the repository at this point in the history
  • Loading branch information
baudeval committed Nov 29, 2023
1 parent 95c085a commit 02bf061
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 2 additions & 1 deletion Controller/Adminhtml/Config/Sftp/TestConnection.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
use Magento\Store\Api\Data\StoreInterface;
use Magento\Store\Model\StoreManagerInterface;
use Magento\Store\Model\ScopeInterface;
use Magento\Framework\Filesystem\Io\Sftp;

/**
* Class TestConnection
Expand All @@ -31,7 +32,7 @@ class TestConnection extends Action
*/
public function __construct(
Context $context,
\Bazaarvoice\Connector\Model\Filesystem\Io\Sftp $sftp,
Sftp $sftp,
ConfigProviderInterface $configProvider,
StoreInterface $store,
StoreManagerInterface $storeManager,
Expand Down
2 changes: 1 addition & 1 deletion Model/Feed/Feed.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

use Bazaarvoice\Connector\Api\ConfigProviderInterface;
use Bazaarvoice\Connector\Api\StringFormatterInterface;
use Bazaarvoice\Connector\Model\Filesystem\Io\Sftp;
use Magento\Framework\Filesystem\Io\Sftp;
use Bazaarvoice\Connector\Model\Source\Scope;
use Exception;
use Magento\Store\Model\Group;
Expand Down
4 changes: 0 additions & 4 deletions etc/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,6 @@
</type>
<preference for="Magento\ReviewStaging\Ui\DataProvider\Product\Form\Modifier\Review" type="Bazaarvoice\Connector\Ui\ReviewStaging\Review"/>


<!-- sftp -->
<preference for="Magento\Framework\Filesystem\Io\Sftp" type="Bazaarvoice\Connector\Model\Filesystem\Io\Sftp" />

<!-- Admin Grid -->
<type name="Magento\Framework\View\Element\UiComponent\DataProvider\CollectionFactory">
<arguments>
Expand Down

0 comments on commit 02bf061

Please sign in to comment.