File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 3
3
* Copyright © Magento, Inc. All rights reserved.
4
4
* See COPYING.txt for license details.
5
5
*/
6
+
6
7
namespace Magento \Robots \Model \Config ;
7
8
8
9
use Magento \Framework \App \Cache \TypeListInterface ;
@@ -32,12 +33,11 @@ class Value extends ConfigValue implements IdentityInterface
32
33
const CACHE_TAG = 'robots ' ;
33
34
34
35
/**
35
- * Model cache tag for clear cache in after save and after delete
36
+ * @inheritdoc
36
37
*
37
- * @var string
38
38
* @since 100.2.0
39
39
*/
40
- protected $ _cacheTag = true ;
40
+ protected $ _cacheTag = [ self :: CACHE_TAG ] ;
41
41
42
42
/**
43
43
* @var StoreManagerInterface
Original file line number Diff line number Diff line change 3
3
* Copyright © Magento, Inc. All rights reserved.
4
4
* See COPYING.txt for license details.
5
5
*/
6
+
6
7
namespace Magento \Sitemap \Model ;
7
8
8
9
use Magento \Config \Model \Config \Reader \Source \Deployed \DocumentRoot ;
15
16
use Magento \Sitemap \Model \ResourceModel \Sitemap as SitemapResource ;
16
17
17
18
/**
19
+ * Sitemap model.
20
+ *
18
21
* @method string getSitemapType()
19
22
* @method \Magento\Sitemap\Model\Sitemap setSitemapType(string $value)
20
23
* @method string getSitemapFilename()
@@ -154,12 +157,11 @@ class Sitemap extends \Magento\Framework\Model\AbstractModel implements \Magento
154
157
protected $ dateTime ;
155
158
156
159
/**
157
- * Model cache tag for clear cache in after save and after delete
160
+ * @inheritdoc
158
161
*
159
- * @var string
160
162
* @since 100.2.0
161
163
*/
162
- protected $ _cacheTag = true ;
164
+ protected $ _cacheTag = [Value:: CACHE_TAG ] ;
163
165
164
166
/**
165
167
* Item resolver
You can’t perform that action at this time.
0 commit comments