Skip to content

Commit f48590c

Browse files
author
Stanislav Idolov
committed
Fixed parse error issues.
1 parent 16f9715 commit f48590c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/CatalogRule/Observer/RulePricesStorage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class RulePricesStorage
2222
*/
2323
public function getRulePrice($id)
2424
{
25-
return $this->rulePrices[$id]) ?? false;
25+
return $this->rulePrices[$id] ?? false;
2626
}
2727

2828
/**

setup/src/Magento/Setup/Module/Setup/SetupCache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function setField($table, $parentId, $rowId, $field, $value)
4141
public function get($table, $parentId, $rowId, $field = null)
4242
{
4343
if (null === $field) {
44-
return $this->data[$table][$parentId][$rowId]) ?? false;
44+
return $this->data[$table][$parentId][$rowId] ?? false;
4545
} else {
4646
return $this->data[$table][$parentId][$rowId][$field] ?? false;
4747
}

0 commit comments

Comments
 (0)