We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9e5f665 + 97df5d2 commit f541718Copy full SHA for f541718
app/code/Magento/PageBuilder/Model/Dom/NodeList.php
@@ -44,7 +44,7 @@ public function __construct(
44
/**
45
* @inheritDoc
46
*/
47
- public function item($index): ?ElementInterface
+ public function item(int $index): ?ElementInterface
48
{
49
return $this->objectManager->create(ElementInterface::class, [ 'element' => $this->nodeList->item($index) ]);
50
}
0 commit comments