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;
    }