Skip to content

Commit 1c791af

Browse files
committed
Change namespace and class due to code review
1 parent ba380cc commit 1c791af

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

main/src/Plugin/Helper/DataPlugin.php renamed to main/src/Plugin/SearchHelperPlugin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
* @author Andreas von Studnitz <[email protected]>
77
*/
88

9-
namespace IntegerNet\Solr\Plugin\Helper;
9+
namespace IntegerNet\Solr\Plugin;
1010

1111
use Magento\Search\Helper\Data as Subject;
1212
use Magento\Store\Model\StoreManagerInterface;
1313

14-
class DataPlugin
14+
class SearchHelperPlugin
1515
{
1616
/**
1717
* @var StoreManagerInterface

main/src/etc/frontend/di.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
<plugin name="updateLayout" type="IntegerNet\Solr\Model\Plugin\LayoutPlugin" />
55
</type>
66
<type name="Magento\Search\Helper\Data">
7-
<plugin name="integernetSolrHelperData" type="IntegerNet\Solr\Plugin\Helper\DataPlugin" />
7+
<plugin name="integernetSolrSearchHelper" type="IntegerNet\Solr\Plugin\SearchHelperPlugin" />
88
</type>
99
</config>

0 commit comments

Comments
 (0)