public function getType(string $name):?string
    {
        if (! $this->info->includes($name)) {
            throw ArgumentListException::parameterNotFound($name);
        }
        foreach ($this->configs as $config) {
            /** @var $config ParametersConfig */
            if ($config->hasType($name)) {
                return $config->getType($name);
            }
        }
        return $this->info->getType($name);
    }
public function getType(string $name):?string
    {
        if (! $this->info->includes($name)) {
            throw ArgumentListException::parameterNotFound($name);
        }
        foreach ($this->configs as $config) {
            /** @var $config ParametersConfig */
            if ($config->hasType($name)) {
                return $config->getType($name);
            }
        }
        return $this->info->getType($name);
    }
public function getType ( string $ name ) : ? string { if ( ! $ this -> info -> includes ( $ name ) ) { throw ArgumentListException :: parameterNotFound ( $ name ) ; } foreach ( $ this -> configs as $ config ) { /** @var $config ParametersConfig */ if ( $ config -> hasType ( $ name ) ) { return $ config -> getType ( $ name ) ; } } return $ this -> info -> getType ( $ name ) ; }
Get the type of an argument.

May be NULL if untyped, a built-in type or a class name.
Get the type of an argument .