Permalink
Browse files

Merge pull request #119 from mbabker/httpTest

Change Uri to UriInterface
  • Loading branch information...
2 parents 6f2fdfd + 2eebaf5 commit 34f834e98f35ba7d2d2d6b91705eb8873e4291b0 @dongilbert dongilbert committed Apr 1, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 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;

0 comments on commit 34f834e

Please sign in to comment.