Skip to content

Commit 85a2a56

Browse files
committed
Refactoring
1 parent b88fa48 commit 85a2a56

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

app/code/Magento/Sitemap/Model/EmailNotification.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class EmailNotification
3838
private $transportBuilder;
3939

4040
/**
41-
* @var $logger
41+
* @var \Psr\Log\LoggerInterface $logger
4242
*/
4343
private $logger;
4444

app/code/Magento/Sitemap/Model/Observer.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
use Magento\Store\Model\App\Emulation;
99
use Magento\Sitemap\Model\EmailNotification as SitemapEmail;
10-
use Magento\Store\Model\StoreManagerInterface;
1110
use Magento\Framework\App\Config\ScopeConfigInterface;
1211
use Magento\Sitemap\Model\ResourceModel\Sitemap\CollectionFactory;
1312
use Magento\Store\Model\ScopeInterface;
@@ -58,11 +57,6 @@ class Observer
5857
*/
5958
private $collectionFactory;
6059

61-
/**
62-
* @var \Magento\Store\Model\StoreManagerInterface
63-
*/
64-
private $storeManager;
65-
6660
/**
6761
* @var Emulation
6862
*/
@@ -77,20 +71,17 @@ class Observer
7771
* Observer constructor.
7872
* @param ScopeConfigInterface $scopeConfig
7973
* @param CollectionFactory $collectionFactory
80-
* @param StoreManagerInterface $storeManager
8174
* @param EmailNotification $emailNotification
8275
* @param Emulation $appEmulation
8376
*/
8477
public function __construct(
8578
ScopeConfigInterface $scopeConfig,
8679
CollectionFactory $collectionFactory,
87-
StoreManagerInterface $storeManager,
8880
SitemapEmail $emailNotification,
8981
Emulation $appEmulation
9082
) {
9183
$this->scopeConfig = $scopeConfig;
9284
$this->collectionFactory = $collectionFactory;
93-
$this->storeManager = $storeManager;
9485
$this->appEmulation = $appEmulation;
9586
$this->emailNotification = $emailNotification;
9687
}

0 commit comments

Comments
 (0)