Skip to content

Commit 5aa4d6f

Browse files
authored
Update README.md
1 parent 00a2dfc commit 5aa4d6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ If you want the results to be just a set of rows, columns, arrays and scalar typ
238238
use Laudis\Neo4j\ClientBuilder;
239239
use Laudis\Neo4j\Formatter\BasicFormatter;
240240

241-
$client = ClientBuilder::create()->withFormatter(BasicFormatter::class)->build();
241+
$client = ClientBuilder::create()->withFormatter(new BasicFormatter())->build();
242242

243243
// Results are a CypherList
244244
$results = $client->run('MATCH (node:Node) RETURN node, node.id AS id');

0 commit comments

Comments
 (0)