diff --git a/src/ServerRequestFactory.php b/src/ServerRequestFactory.php index 30d40d44..30eb71cb 100644 --- a/src/ServerRequestFactory.php +++ b/src/ServerRequestFactory.php @@ -269,7 +269,7 @@ private static function marshalHttpsValue($https) : bool * @return array Array of two items, host and port, in that order (can be * passed to a list() operation). */ - private static function marshalHostAndPortFromHeader($host) + private static function marshalHostAndPortFromHeader($host): array { if (is_array($host)) { $host = implode(', ', $host);