diff --git a/src/Joomla/Http/Transport/Socket.php b/src/Joomla/Http/Transport/Socket.php index 3bf8633c2..b3ae0ef46 100644 --- a/src/Joomla/Http/Transport/Socket.php +++ b/src/Joomla/Http/Transport/Socket.php @@ -203,15 +203,15 @@ protected function getResponse($content) /** * Method to connect to a server and get the resource. * - * @param Uri $uri The URI to connect with. - * @param integer $timeout Read timeout in seconds. + * @param UriInterface $uri The URI to connect with. + * @param integer $timeout Read timeout in seconds. * * @return resource Socket connection resource. * * @since 1.0 * @throws \RuntimeException */ - protected function connect(Uri $uri, $timeout = null) + protected function connect(UriInterface $uri, $timeout = null) { $errno = null; $err = null;