src/Riak/Command/Builder/MapReduce/FetchObjects.php
public function addLocationInput(Riak\Location $location)
    {
        // default bucket type cannot be passed to the MR api due to a bug
        if ($location->getBucket()->getType() == 'default') {
            $input = [$location->getBucket()->getName(), $location->getKey()];
        } else {
            $input = [$location->getBucket()->getName(), $location->getKey(), '', $location->getBucket()->getType()];
        }

        $this->inputs[] = $input;

        return $this;
    }
public function addLocationInput(Riak\Location $location)
    {
        // default bucket type cannot be passed to the MR api due to a bug
        if ($location->getBucket()->getType() == 'default') {
            $input = [$location->getBucket()->getName(), $location->getKey()];
        } else {
            $input = [$location->getBucket()->getName(), $location->getKey(), '', $location->getBucket()->getType()];
        }

        $this->inputs[] = $input;

        return $this;
    }
addLocationInput

@param Riak\Location $location

@return $this