CSS selectors in Laminas

Code
<?php

use Laminas\Dom\Document\Query;
use 
Laminas\Dom\Document;

$file __DIR__ '/templates/site.html';
$doc = new Document(file_get_contents($file));

/* @var $nodes \Laminas\Dom\Document\NodeList */
$nodeList Query::execute('h1'$docQuery::TYPE_CSS);

// NodeList implements Iterator, Countable, ArrayAccess
echo $nodeList[0]->nodeValue;
Result
PHPSnippets
Used Versions
PHP 8.0, Laminas MVC 3.2, Symfony 5.2, Laravel 8.28, PHPUnit 9.5, Doctrine ORM 2.8