Job/JobType.php
public function getParameterType($index)
    {
        if (!isset($this->parameterTypes[$index])) {
            throw new \InvalidArgumentException('No type defined for parameter #' . $index);
        }

        return $this->parameterTypes[$index];
    }
public function getParameterType($index)
    {
        if (!isset($this->parameterTypes[$index])) {
            throw new \InvalidArgumentException('No type defined for parameter #' . $index);
        }

        return $this->parameterTypes[$index];
    }
{@inheritdoc}