Skip to content

Commit 811ab60

Browse files
committed
Change 'after' plugin to 'around' plugin as the original method should not be called any more
1 parent 756fc78 commit 811ab60

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

main/src/Plugin/Helper/DataPlugin.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,9 @@ public function __construct(StoreManagerInterface $storeManager)
2424
}
2525

2626
/**
27-
* @param Subject $subject
2827
* @return string
2928
*/
30-
public function afterGetSuggestUrl(Subject $subject)
29+
public function aroundGetSuggestUrl()
3130
{
3231
/** @var \Magento\Store\Model\Store $store */
3332
$store = $this->storeManager->getStore();

0 commit comments

Comments
 (0)