EZP-20424 - Fixed wrong variable names
EZP-20424 - Avoid calling ParameterProviderRegistry::hasParameterProvider() in getParameterProvider()