Skip to content


Change Uri to UriInterface #119

merged 1 commit into from

2 participants

Joomla! member

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

1 check passed

Details default The Travis build passed
@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 committed
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
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.