src/Sherlock/requests/BatchCommand.php
public function fillType($type)
    {

        /** @param Command $value */
        $map = function ($value) use ($type) {
            if ($value->getType() === null) {
                $value->type($type);
            }
        };

        array_map($map, $this->commands);

        return $this;
    }
public function fillType($type)
    {

        /** @param Command $value */
        $map = function ($value) use ($type) {
            if ($value->getType() === null) {
                $value->type($type);
            }
        };

        array_map($map, $this->commands);

        return $this;
    }
Fill all commands that don't have a type set

@param $type

@return $this