Skip to content

Commit 1571162

Browse files
committed
php 8.2 - dynamic property fixes
1 parent 5f563cc commit 1571162

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

Model/Config.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,11 @@ class Config
108108
const XML_INCLUDE_BLOG_CSS_HOME_PAGE = 'mfblog/developer/css_settings/include_home_page';
109109
const XML_INCLUDE_BLOG_CSS_PRODUCT_PAGES = 'mfblog/developer/css_settings/include_product_page';
110110

111+
/**
112+
* @var ScopeConfigInterface
113+
*/
114+
protected ScopeConfigInterface $scopeConfig;
115+
111116
/**
112117
* Config constructor.
113118
* @param ScopeConfigInterface $scopeConfig

Model/ResourceModel/Category/Collection.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\Ab
2323
*/
2424
protected $_storeId;
2525

26+
/**
27+
* @var bool
28+
*/
29+
protected $_previewFlag;
30+
2631
/**
2732
* @param \Magento\Framework\Data\Collection\EntityFactory $entityFactory
2833
* @param \Psr\Log\LoggerInterface $logger

Model/ResourceModel/Post/Collection.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\Ab
3838
*/
3939
protected $categoryRepository;
4040

41+
/**
42+
* @var bool
43+
*/
44+
protected $_previewFlag;
45+
4146
/**
4247
* @param \Magento\Framework\Data\Collection\EntityFactory $entityFactory
4348
* @param \Psr\Log\LoggerInterface $logger

0 commit comments

Comments
 (0)