Replace $container has
check with hasParameter
#7769
+2
−2
Merged