Skip to content
This repository has been archived by the owner on Nov 26, 2017. It is now read-only.

Commit

Permalink
Merge pull request #119 from mbabker/httpTest
Browse files Browse the repository at this point in the history
Change Uri to UriInterface
  • Loading branch information
dongilbert committed Apr 1, 2013
2 parents 6f2fdfd + 2eebaf5 commit 34f834e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Joomla/Http/Transport/Socket.php
Expand Up @@ -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;
Expand Down

0 comments on commit 34f834e

Please sign in to comment.