@@ -49,22 +49,23 @@ public function parameters(ContainerInterface $container, ParameterBagInterface
49
49
assertType ("string " , $ container ->getParameter ('app.boolean_as_string ' ));
50
50
assertType ("string " , $ parameterBag ->get ('app.boolean_as_string ' ));
51
51
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 ' ));
61
61
assertType ("string " , $ container ->getParameter ('app.binary ' ));
62
62
assertType ("string " , $ parameterBag ->get ('app.binary ' ));
63
63
assertType ("string " , $ this ->getParameter ('app.binary ' ));
64
64
assertType ("string " , $ container ->getParameter ('app.constant ' ));
65
65
assertType ("string " , $ parameterBag ->get ('app.constant ' ));
66
66
assertType ("string " , $ this ->getParameter ('app.constant ' ));
67
67
assertType ("array " , $ this ->getParameter ('test_collection ' ));
68
+ assertType ("array<int, string> " , $ this ->getParameter ('non_empty_collection ' ));
68
69
69
70
assertType ('false ' , $ container ->hasParameter ('unknown ' ));
70
71
assertType ('false ' , $ parameterBag ->has ('unknown ' ));
0 commit comments