Skip to content

Commit 30b494b

Browse files
committed
Add type hint
1 parent 3d87303 commit 30b494b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public function execute($entityType, $entity)
101101
* @param array $links
102102
* @return bool
103103
*/
104-
private function hasPosition($links)
104+
private function hasPosition(array $links)
105105
{
106106
foreach ($links as $link) {
107107
if (!array_key_exists('position', $link->getData())) {

0 commit comments

Comments
 (0)