@@ -49,22 +49,23 @@ public function parameters(ContainerInterface $container, ParameterBagInterface
4949 assertType ("string " , $ container ->getParameter ('app.boolean_as_string ' ));
5050 assertType ("string " , $ parameterBag ->get ('app.boolean_as_string ' ));
5151 assertType ("string " , $ this ->getParameter ('app.boolean_as_string ' ));
52- assertType ("array<int, string>&nonEmpty " , $ container ->getParameter ('app.list ' ));
53- assertType ("array<int, string>&nonEmpty " , $ parameterBag ->get ('app.list ' ));
54- assertType ("array<int, string>&nonEmpty " , $ this ->getParameter ('app.list ' ));
55- assertType ("array<int, array<string, string>&nonEmpty>&nonEmpty " , $ container ->getParameter ('app.list_of_list ' ));
56- assertType ("array<int, array<string, string>&nonEmpty>&nonEmpty " , $ parameterBag ->get ('app.list_of_list ' ));
57- assertType ("array<int, array<string, string>&nonEmpty>&nonEmpty " , $ this ->getParameter ('app.list_of_list ' ));
58- assertType ("array<string, string>&nonEmpty " , $ container ->getParameter ('app.map ' ));
59- assertType ("array<string, string>&nonEmpty " , $ parameterBag ->get ('app.map ' ));
60- assertType ("array<string, string>&nonEmpty " , $ this ->getParameter ('app.map ' ));
52+ assertType ("array<int, string> " , $ container ->getParameter ('app.list ' ));
53+ assertType ("array<int, string> " , $ parameterBag ->get ('app.list ' ));
54+ assertType ("array<int, string> " , $ this ->getParameter ('app.list ' ));
55+ assertType ("array<int, array<string, string>> " , $ container ->getParameter ('app.list_of_list ' ));
56+ assertType ("array<int, array<string, string>> " , $ parameterBag ->get ('app.list_of_list ' ));
57+ assertType ("array<int, array<string, string>> " , $ this ->getParameter ('app.list_of_list ' ));
58+ assertType ("array<string, string> " , $ container ->getParameter ('app.map ' ));
59+ assertType ("array<string, string> " , $ parameterBag ->get ('app.map ' ));
60+ assertType ("array<string, string> " , $ this ->getParameter ('app.map ' ));
6161 assertType ("string " , $ container ->getParameter ('app.binary ' ));
6262 assertType ("string " , $ parameterBag ->get ('app.binary ' ));
6363 assertType ("string " , $ this ->getParameter ('app.binary ' ));
6464 assertType ("string " , $ container ->getParameter ('app.constant ' ));
6565 assertType ("string " , $ parameterBag ->get ('app.constant ' ));
6666 assertType ("string " , $ this ->getParameter ('app.constant ' ));
6767 assertType ("array " , $ this ->getParameter ('test_collection ' ));
68+ assertType ("array<int, string> " , $ this ->getParameter ('non_empty_collection ' ));
6869
6970 assertType ('false ' , $ container ->hasParameter ('unknown ' ));
7071 assertType ('false ' , $ parameterBag ->has ('unknown ' ));
0 commit comments