Commit eda78994 authored by Ivan Chepurnyi's avatar Ivan Chepurnyi

Merge pull request #59 from steverice/dev

Fixed return type in PHPDoc for HTTP request controller methods
parents 6ef5a054 70045930
......@@ -76,7 +76,7 @@ class EcomDev_PHPUnit_Controller_Request_Http
*
* @param string|array $name
* @param string|null $value
* @return EcomDev_PHPUnit_Controller_Request_Http_Test
* @return EcomDev_PHPUnit_Controller_Request_Http
*/
public function setCookie($name, $value)
{
......@@ -88,7 +88,7 @@ class EcomDev_PHPUnit_Controller_Request_Http
* Sets more than one cookie
*
* @param array $cookies
* @return EcomDev_PHPUnit_Controller_Request_Http_Test
* @return EcomDev_PHPUnit_Controller_Request_Http
*/
public function setCookies(array $cookies)
{
......@@ -99,7 +99,7 @@ class EcomDev_PHPUnit_Controller_Request_Http
/**
* Resets all cookies for the test request
*
* @return EcomDev_PHPUnit_Controller_Request_Http_Test
* @return EcomDev_PHPUnit_Controller_Request_Http
*/
public function resetCookies()
{
......@@ -110,7 +110,7 @@ class EcomDev_PHPUnit_Controller_Request_Http
/**
* Resets query for the current request
*
* @return EcomDev_PHPUnit_Controller_Request_Http_Test
* @return EcomDev_PHPUnit_Controller_Request_Http
*/
public function resetQuery()
{
......@@ -121,7 +121,7 @@ class EcomDev_PHPUnit_Controller_Request_Http
/**
* Resets $_POST superglobal for test request
*
* @return EcomDev_PHPUnit_Controller_Request_Http_Test
* @return EcomDev_PHPUnit_Controller_Request_Http
*/
public function resetPost()
{
......@@ -132,7 +132,7 @@ class EcomDev_PHPUnit_Controller_Request_Http
/**
* Resets user defined request params for test request
*
* @return EcomDev_PHPUnit_Controller_Request_Http_Test
* @return EcomDev_PHPUnit_Controller_Request_Http
*/
public function resetParams()
{
......@@ -143,7 +143,7 @@ class EcomDev_PHPUnit_Controller_Request_Http
/**
* Resets internal properties to its default values
*
* @return EcomDev_PHPUnit_Controller_Request_Http_Test
* @return EcomDev_PHPUnit_Controller_Request_Http
*/
public function resetInternalProperties()
{
......@@ -183,7 +183,7 @@ class EcomDev_PHPUnit_Controller_Request_Http
*
* @param string $name
* @param string $value
* @return EcomDev_PHPUnit_Controller_Request_Http_Test
* @return EcomDev_PHPUnit_Controller_Request_Http
*/
public function setHeader($name, $value)
{
......@@ -199,7 +199,7 @@ class EcomDev_PHPUnit_Controller_Request_Http
* headers list is an associative array
*
* @param array $headers
* @return EcomDev_PHPUnit_Controller_Request_Http_Test
* @return EcomDev_PHPUnit_Controller_Request_Http
*/
public function setHeaders(array $headers)
{
......@@ -229,7 +229,7 @@ class EcomDev_PHPUnit_Controller_Request_Http
/**
* Resets headers in test request
*
* @return EcomDev_PHPUnit_Controller_Request_Http_Test
* @return EcomDev_PHPUnit_Controller_Request_Http
*/
public function resetHeaders()
{
......@@ -255,7 +255,7 @@ class EcomDev_PHPUnit_Controller_Request_Http
*
* @param string $name
* @param string $value
* @return EcomDev_PHPUnit_Controller_Request_Http_Test
* @return EcomDev_PHPUnit_Controller_Request_Http
*/
public function setServer($name, $value)
{
......@@ -272,7 +272,7 @@ class EcomDev_PHPUnit_Controller_Request_Http
* Sets multiple values for $_SERVER superglobal in test request
*
* @param array $values
* @return EcomDev_PHPUnit_Controller_Request_Http_Test
* @return EcomDev_PHPUnit_Controller_Request_Http
*/
public function setServers(array $values)
{
......@@ -285,7 +285,7 @@ class EcomDev_PHPUnit_Controller_Request_Http
/**
* Resets $_SERVER superglobal to previous state
*
* @return EcomDev_PHPUnit_Controller_Request_Http_Test
* @return EcomDev_PHPUnit_Controller_Request_Http
*/
public function resetServer()
{
......@@ -307,7 +307,7 @@ class EcomDev_PHPUnit_Controller_Request_Http
* Sets request method for test request
*
* @param string $requestMethod
* @return EcomDev_PHPUnit_Controller_Request_Http_Test
* @return EcomDev_PHPUnit_Controller_Request_Http
*/
public function setMethod($requestMethod)
{
......@@ -320,7 +320,7 @@ class EcomDev_PHPUnit_Controller_Request_Http
* accepts boolean flag for HTTPS
*
* @param boolean $flag
* @return EcomDev_PHPUnit_Controller_Request_Http_Test
* @return EcomDev_PHPUnit_Controller_Request_Http
*/
public function setIsSecure($flag = true)
{
......@@ -365,7 +365,7 @@ class EcomDev_PHPUnit_Controller_Request_Http
/**
* Resets all request data for test
*
* @return EcomDev_PHPUnit_Controller_Request_Http_Test
* @return EcomDev_PHPUnit_Controller_Request_Http
*/
public function reset()
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment