We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 922d59e commit acaeb2fCopy full SHA for acaeb2f
1 file changed
src/Config.php
@@ -334,10 +334,10 @@ public function getPrimaryRoute() : array
334
*
335
* @param string|null $appName
336
* The name of the upstream app on which to filter, if any.
337
- * @return iterable
338
- * An iterable of route definitions.
+ * @return array
+ * An array of route definitions.
339
*/
340
- public function getUpstreamRoutes(string $appName = null) : iterable
+ public function getUpstreamRoutes(string $appName = null) : array
341
{
342
return array_filter($this->routes(), function (array $route) use ($appName) {
343
return $route['type'] == 'upstream'
0 commit comments