We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd1397d commit 48748ceCopy full SHA for 48748ce
lib/internal/Magento/Framework/Mview/OldViews.php
@@ -3,6 +3,8 @@
3
* Copyright © Magento, Inc. All rights reserved.
4
* See COPYING.txt for license details.
5
*/
6
+declare(strict_types=1);
7
+
8
namespace Magento\Framework\Mview;
9
10
use Magento\Framework\App\ResourceConnection;
@@ -45,9 +47,9 @@ public function __construct(
45
47
}
46
48
49
/**
- * Remove unused triggers
50
+ * Unsubscribe old views by existing triggers
51
- public function unsubscribe()
52
+ public function unsubscribe(): void
53
{
54
$viewCollection = $this->viewCollectionFactory->create();
55
$viewList = $viewCollection->getViewsByStateMode(StateInterface::MODE_ENABLED);
0 commit comments