Automattic\WooCommerce\Vendor\GraphQL\Language\AST
NodeList::reindex
Resets the keys of the stored nodes to contiguous numeric indexes.
Method of the class: NodeList{}
No Hooks.
Returns
null. Nothing (null).
Usage
$NodeList = new NodeList(); $NodeList->reindex(): void;
NodeList::reindex() NodeList::reindex code WC 10.9.1
public function reindex(): void
{
$this->nodes = array_values($this->nodes);
}