Skip to content

Commit

Permalink
Adding in missing 'new' keyword to object creation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Mancini committed Dec 21, 2014
1 parent 0f0b656 commit 77ca5b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ This quick example assumes that you have a local riak cluster running on port 80
Connect to a Riak server by specifying the address or hostname and port:

# Connect to Riak
$client = Basho\Riak\Riak('127.0.0.1', 8098);
$client = new Basho\Riak\Riak('127.0.0.1', 8098);

This method returns a [Riak](http://basho.github.io/riak-php-client/classes/Basho.Riak.Riak.html) object.

Expand Down

0 comments on commit 77ca5b3

Please sign in to comment.