Is the run query in the second code line part of the atomical transaction, or in other words: is it possible that another thread runs a query successfully between the 2nd and 4th line of the following code?
$tx = $client->transaction();
$result = $tx->run('CREATE (n:Person) SET n.name = {name} RETURN id(n)', ['name' => 'Michal']);
$tx->push('CREATE (n:Person) RETURN id(n)');
$results = $tx->commit();