basho/riak-php-client — pull request #37 by wojons (2012-10-15 00:34:12+00:00)
Title: Minoring chainning fix

I made a fix in RiakObject::setData() it was returning $this->data, and not $this. it caused that chaining a new object to be stored did not work so something like.

$bucket->newObject($key)->setData($data)->store();

Would return that the method store was trying to be called on a non object.