@@ -20,9 +20,9 @@ interface RouteParserInterface
2020/**
2121 * Build the path for a named route excluding the base path
2222 *
23- * @param string $routeName Route name
24- * @param array<string, string> $data Named argument replacement data
25- * @param array<string, string> $queryParams Optional query string parameters
23+ * @param string $routeName Route name
24+ * @param array<string, string> $data Named argument replacement data
25+ * @param array<string, string | array<array-key, string> > $queryParams Optional query string parameters
2626 *
2727 * @throws RuntimeException If named route does not exist
2828 * @throws InvalidArgumentException If required data not provided
@@ -32,9 +32,9 @@ public function relativeUrlFor(string $routeName, array $data = [], array $query
3232/**
3333 * Build the path for a named route including the base path
3434 *
35- * @param string $routeName Route name
36- * @param array<string, string> $data Named argument replacement data
37- * @param array<string, string> $queryParams Optional query string parameters
35+ * @param string $routeName Route name
36+ * @param array<string, string> $data Named argument replacement data
37+ * @param array<string, string | array<array-key, string> > $queryParams Optional query string parameters
3838 *
3939 * @throws RuntimeException If named route does not exist
4040 * @throws InvalidArgumentException If required data not provided
@@ -44,10 +44,10 @@ public function urlFor(string $routeName, array $data = [], array $queryParams =
4444/**
4545 * Get fully qualified URL for named route
4646 *
47- * @param UriInterface $uri
48- * @param string $routeName Route name
49- * @param array<string, string> $data Named argument replacement data
50- * @param array<string, string> $queryParams Optional query string parameters
47+ * @param UriInterface $uri
48+ * @param string $routeName Route name
49+ * @param array<string, string> $data Named argument replacement data
50+ * @param array<string, string | array<array-key, string>> $queryParams Optional query string parameters
5151 */
5252public function fullUrlFor (UriInterface $ uri ,string $ routeName ,array $ data = [],array $ queryParams = []):string ;
5353}