Skip to content

Commit

Permalink
phpDoc updated
Browse files Browse the repository at this point in the history
  • Loading branch information
githubjeka committed Mar 28, 2016
1 parent 608066b commit 4e59f92
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions framework/web/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -842,7 +842,7 @@ public function getServerName()

/**
* Returns the server port number.
* @return integer server port number, null if not available
* @return integer|null server port number, null if not available
*/
public function getServerPort()
{
Expand All @@ -851,7 +851,7 @@ public function getServerPort()

/**
* Returns the URL referrer.
* @return string URL referrer, null if not available
* @return string|null URL referrer, null if not available
*/
public function getReferrer()
{
Expand All @@ -860,7 +860,7 @@ public function getReferrer()

/**
* Returns the user agent.
* @return string user agent, null if not available
* @return string|null user agent, null if not available
*/
public function getUserAgent()
{
Expand All @@ -869,7 +869,7 @@ public function getUserAgent()

/**
* Returns the user IP address.
* @return string user IP address, null if not available
* @return string|null user IP address, null if not available
*/
public function getUserIP()
{
Expand All @@ -878,23 +878,23 @@ public function getUserIP()

/**
* Returns the user host name.
* @return string user host name, null if not available
* @return string|null user host name, null if not available
*/
public function getUserHost()
{
return isset($_SERVER['REMOTE_HOST']) ? $_SERVER['REMOTE_HOST'] : null;
}

/**
* @return string the username sent via HTTP authentication, null if the username is not given
* @return string|null the username sent via HTTP authentication, null if the username is not given
*/
public function getAuthUser()
{
return isset($_SERVER['PHP_AUTH_USER']) ? $_SERVER['PHP_AUTH_USER'] : null;
}

/**
* @return string the password sent via HTTP authentication, null if the password is not given
* @return string|null the password sent via HTTP authentication, null if the password is not given
*/
public function getAuthPassword()
{
Expand Down

0 comments on commit 4e59f92

Please sign in to comment.