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 0d9396a + 97df5d2 commit 25a838aCopy full SHA for 25a838a
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