Skip to content

Commit 3e9a372

Browse files
committed
AC-13306: [CE] Adobe Commerce 2.4.8 core code is compatible with PHP 8.4
1 parent 9d2da33 commit 3e9a372

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

app/code/Magento/Catalog/Controller/Adminhtml/Product/Builder.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,10 @@ public function __construct(
7777
$this->logger = $logger;
7878
$this->registry = $registry;
7979
$this->wysiwygConfig = $wysiwygConfig;
80+
// phpcs:disable
8081
$this->storeFactory = $storeFactory ?: \Magento\Framework\App\ObjectManager::getInstance()
8182
->get(\Magento\Store\Model\StoreFactory::class);
83+
// phpcs:enable
8284
$this->productRepository = $productRepository ?: \Magento\Framework\App\ObjectManager::getInstance()
8385
->get(ProductRepositoryInterface::class);
8486
}

app/code/Magento/Catalog/Model/CategoryList.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,13 @@ public function getList(SearchCriteriaInterface $searchCriteria)
103103
*/
104104
private function getCollectionProcessor()
105105
{
106+
// phpcs:disable
106107
if (!$this->collectionProcessor) {
107108
$this->collectionProcessor = \Magento\Framework\App\ObjectManager::getInstance()->get(
108109
'\Magento\Eav\Model\Api\SearchCriteria\CollectionProcessor'
109110
);
110111
}
112+
// phpcs:enable
111113
return $this->collectionProcessor;
112114
}
113115
}

0 commit comments

Comments
 (0)