src/Riak/Command/Builder/MapReduce/FetchObjects.php
protected function setPhase($type, $data, $keep = false)
    {
        $data['keep'] = $keep;
        $object = new \StdClass();
        $object->{$type} = $data;
        $this->query[] = $object;
    }
protected function setPhase($type, $data, $keep = false)
    {
        $data['keep'] = $keep;
        $object = new \StdClass();
        $object->{$type} = $data;
        $this->query[] = $object;
    }
setPhase

@param $type
@param $data
@param bool $keep