src/Bootstrap.php
private function exception($input)
    {
        $type = gettype($input);

        if ($type === ' object') {
            $type = get_class($input);
        }

        $exception = new \InvalidArgumentException(
            'Given input must be one of "%s", "%s" given',
            implode('", "', [ArgvInput::class, Request::class]),
            $type
        );

        return $exception;
    }
private function exception($input)
    {
        $type = gettype($input);

        if ($type === ' object') {
            $type = get_class($input);
        }

        $exception = new \InvalidArgumentException(
            'Given input must be one of "%s", "%s" given',
            implode('", "', [ArgvInput::class, Request::class]),
            $type
        );

        return $exception;
    }
@param mixed $input

@return \InvalidArgumentException