Using the sample code
$call = $api->graph('{ shop { products(first:1) { edges { node { handle, id } } } } }');
You receive the response
Instead if you use
$call = $api->graph('{ shop { products(last:1) { edges { node { handle, id } } } } }');
I receive nothing
Even if I try to make a query
$call = $api->graph('{ shop { products(query:"tag:foo") { edges { node { handle, id } } } } }');
I receive nothing