Skip to content

Commit

Permalink
fixed constructor.
Browse files Browse the repository at this point in the history
  • Loading branch information
nebiros committed Aug 25, 2011
1 parent c462026 commit 2fd51b1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions library/Yasc/Request/Http.php
Expand Up @@ -92,9 +92,10 @@ class Yasc_Request_Http {
/**
*
* @param string $serverName
* @param string $uri
*/
public function __construct( $serverName = null ) {
$this->processUrl( $serverName );
public function __construct( $serverName = null, $uri = null ) {
$this->processUrl( $serverName, $uri );
}

/**
Expand Down

0 comments on commit 2fd51b1

Please sign in to comment.