Skip to content

Commit e17a4b6

Browse files
committed
Improve code quality
1 parent fd21e1f commit e17a4b6

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

app/code/Magento/Catalog/Model/Product/Price/PricePersistence.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ private function getAttributeId()
214214
*/
215215
private function retrieveAffectedIds(array $skus)
216216
{
217-
$affectedIds = [];
217+
$affectedIds = [[]];
218218

219219
foreach ($this->productIdLocator->retrieveProductIdsBySkus($skus) as $productIds) {
220220
$affectedIds[] = array_keys($productIds);

dev/tests/integration/framework/Magento/TestFramework/Helper/Memory.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ public function getRealMemoryUsage()
5353
// fall back to the Unix command line
5454
$result = $this->_getUnixProcessMemoryUsage($pid);
5555
} catch (\Magento\Framework\Exception\LocalizedException $e) {
56-
echo $e;
5756
// try to use the Windows command line
5857
// some ports of Unix commands on Windows, such as MinGW, have limited capabilities and cannot be used
5958
$result = $this->_getWinProcessMemoryUsage($pid);

0 commit comments

Comments
 (0)