Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Change Uri to UriInterface #119

Merged
merged 1 commit into from

2 participants

@mbabker
Owner

Unit tests fail if you have the JTEST_HTTP_STUB const defined in your environment without this change.

@dongilbert dongilbert merged commit 34f834e into joomla:staging
@mbabker mbabker deleted the unknown repository branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 1, 2013
  1. @mbabker

    Change Uri to UriInterface

    mbabker authored
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/Joomla/Http/Transport/Socket.php
View
6 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;
Something went wrong with that request. Please try again.