Skip to content

Commit ccaf748

Browse files
author
Mohammad HAJ SALEM
committed
👌 rename isPositionsSet function to isPositionSet to keep consistency
1 parent 9e51c51 commit ccaf748

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Catalog/Model/Product/Link/SaveHandler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public function execute($entityType, $entity)
7878
}
7979

8080
// Do check
81-
$hasPositionLinkType = $this->isPositionsSet($linksByType);
81+
$hasPositionLinkType = $this->isPositionSet($linksByType);
8282

8383
// Set array position as a fallback position if necessary
8484
foreach ($hasPositionLinkType as $linkType => $hasPosition) {
@@ -107,7 +107,7 @@ public function execute($entityType, $entity)
107107
* @param $linksByType
108108
* @return array
109109
*/
110-
private function isPositionsSet($linksByType)
110+
private function isPositionSet($linksByType)
111111
{
112112
$linkTypes = $this->linkTypeProvider->getLinkTypes();
113113

0 commit comments

Comments
 (0)