- Fix "Unkown injection type var"
# This was merged from 5.9-SERIES, where the code works perfectly
# In 5.8-SERIES, Parameter::getType() will not include type restrictions,
# so we need to query them separately