We will be off on April 7th (Monday) for public holiday in our country

Commit 70045930 authored by Steve Rice's avatar Steve Rice

Fixed return type in PHPDoc for HTTP request controller methods

parent 226f4127
...@@ -76,7 +76,7 @@ class EcomDev_PHPUnit_Controller_Request_Http ...@@ -76,7 +76,7 @@ class EcomDev_PHPUnit_Controller_Request_Http
* *
* @param string|array $name * @param string|array $name
* @param string|null $value * @param string|null $value
* @return EcomDev_PHPUnit_Controller_Request_Http_Test * @return EcomDev_PHPUnit_Controller_Request_Http
*/ */
public function setCookie($name, $value) public function setCookie($name, $value)
{ {
...@@ -88,7 +88,7 @@ class EcomDev_PHPUnit_Controller_Request_Http ...@@ -88,7 +88,7 @@ class EcomDev_PHPUnit_Controller_Request_Http
* Sets more than one cookie * Sets more than one cookie
* *
* @param array $cookies * @param array $cookies
* @return EcomDev_PHPUnit_Controller_Request_Http_Test * @return EcomDev_PHPUnit_Controller_Request_Http
*/ */
public function setCookies(array $cookies) public function setCookies(array $cookies)
{ {
...@@ -99,7 +99,7 @@ class EcomDev_PHPUnit_Controller_Request_Http ...@@ -99,7 +99,7 @@ class EcomDev_PHPUnit_Controller_Request_Http
/** /**
* Resets all cookies for the test request * Resets all cookies for the test request
* *
* @return EcomDev_PHPUnit_Controller_Request_Http_Test * @return EcomDev_PHPUnit_Controller_Request_Http
*/ */
public function resetCookies() public function resetCookies()
{ {
...@@ -110,7 +110,7 @@ class EcomDev_PHPUnit_Controller_Request_Http ...@@ -110,7 +110,7 @@ class EcomDev_PHPUnit_Controller_Request_Http
/** /**
* Resets query for the current request * Resets query for the current request
* *
* @return EcomDev_PHPUnit_Controller_Request_Http_Test * @return EcomDev_PHPUnit_Controller_Request_Http
*/ */
public function resetQuery() public function resetQuery()
{ {
...@@ -121,7 +121,7 @@ class EcomDev_PHPUnit_Controller_Request_Http ...@@ -121,7 +121,7 @@ class EcomDev_PHPUnit_Controller_Request_Http
/** /**
* Resets $_POST superglobal for test request * Resets $_POST superglobal for test request
* *
* @return EcomDev_PHPUnit_Controller_Request_Http_Test * @return EcomDev_PHPUnit_Controller_Request_Http
*/ */
public function resetPost() public function resetPost()
{ {
...@@ -132,7 +132,7 @@ class EcomDev_PHPUnit_Controller_Request_Http ...@@ -132,7 +132,7 @@ class EcomDev_PHPUnit_Controller_Request_Http
/** /**
* Resets user defined request params for test request * Resets user defined request params for test request
* *
* @return EcomDev_PHPUnit_Controller_Request_Http_Test * @return EcomDev_PHPUnit_Controller_Request_Http
*/ */
public function resetParams() public function resetParams()
{ {
...@@ -143,7 +143,7 @@ class EcomDev_PHPUnit_Controller_Request_Http ...@@ -143,7 +143,7 @@ class EcomDev_PHPUnit_Controller_Request_Http
/** /**
* Resets internal properties to its default values * Resets internal properties to its default values
* *
* @return EcomDev_PHPUnit_Controller_Request_Http_Test * @return EcomDev_PHPUnit_Controller_Request_Http
*/ */
public function resetInternalProperties() public function resetInternalProperties()
{ {
...@@ -183,7 +183,7 @@ class EcomDev_PHPUnit_Controller_Request_Http ...@@ -183,7 +183,7 @@ class EcomDev_PHPUnit_Controller_Request_Http
* *
* @param string $name * @param string $name
* @param string $value * @param string $value
* @return EcomDev_PHPUnit_Controller_Request_Http_Test * @return EcomDev_PHPUnit_Controller_Request_Http
*/ */
public function setHeader($name, $value) public function setHeader($name, $value)
{ {
...@@ -199,7 +199,7 @@ class EcomDev_PHPUnit_Controller_Request_Http ...@@ -199,7 +199,7 @@ class EcomDev_PHPUnit_Controller_Request_Http
* headers list is an associative array * headers list is an associative array
* *
* @param array $headers * @param array $headers
* @return EcomDev_PHPUnit_Controller_Request_Http_Test * @return EcomDev_PHPUnit_Controller_Request_Http
*/ */
public function setHeaders(array $headers) public function setHeaders(array $headers)
{ {
...@@ -229,7 +229,7 @@ class EcomDev_PHPUnit_Controller_Request_Http ...@@ -229,7 +229,7 @@ class EcomDev_PHPUnit_Controller_Request_Http
/** /**
* Resets headers in test request * Resets headers in test request
* *
* @return EcomDev_PHPUnit_Controller_Request_Http_Test * @return EcomDev_PHPUnit_Controller_Request_Http
*/ */
public function resetHeaders() public function resetHeaders()
{ {
...@@ -255,7 +255,7 @@ class EcomDev_PHPUnit_Controller_Request_Http ...@@ -255,7 +255,7 @@ class EcomDev_PHPUnit_Controller_Request_Http
* *
* @param string $name * @param string $name
* @param string $value * @param string $value
* @return EcomDev_PHPUnit_Controller_Request_Http_Test * @return EcomDev_PHPUnit_Controller_Request_Http
*/ */
public function setServer($name, $value) public function setServer($name, $value)
{ {
...@@ -272,7 +272,7 @@ class EcomDev_PHPUnit_Controller_Request_Http ...@@ -272,7 +272,7 @@ class EcomDev_PHPUnit_Controller_Request_Http
* Sets multiple values for $_SERVER superglobal in test request * Sets multiple values for $_SERVER superglobal in test request
* *
* @param array $values * @param array $values
* @return EcomDev_PHPUnit_Controller_Request_Http_Test * @return EcomDev_PHPUnit_Controller_Request_Http
*/ */
public function setServers(array $values) public function setServers(array $values)
{ {
...@@ -285,7 +285,7 @@ class EcomDev_PHPUnit_Controller_Request_Http ...@@ -285,7 +285,7 @@ class EcomDev_PHPUnit_Controller_Request_Http
/** /**
* Resets $_SERVER superglobal to previous state * Resets $_SERVER superglobal to previous state
* *
* @return EcomDev_PHPUnit_Controller_Request_Http_Test * @return EcomDev_PHPUnit_Controller_Request_Http
*/ */
public function resetServer() public function resetServer()
{ {
...@@ -307,7 +307,7 @@ class EcomDev_PHPUnit_Controller_Request_Http ...@@ -307,7 +307,7 @@ class EcomDev_PHPUnit_Controller_Request_Http
* Sets request method for test request * Sets request method for test request
* *
* @param string $requestMethod * @param string $requestMethod
* @return EcomDev_PHPUnit_Controller_Request_Http_Test * @return EcomDev_PHPUnit_Controller_Request_Http
*/ */
public function setMethod($requestMethod) public function setMethod($requestMethod)
{ {
...@@ -320,7 +320,7 @@ class EcomDev_PHPUnit_Controller_Request_Http ...@@ -320,7 +320,7 @@ class EcomDev_PHPUnit_Controller_Request_Http
* accepts boolean flag for HTTPS * accepts boolean flag for HTTPS
* *
* @param boolean $flag * @param boolean $flag
* @return EcomDev_PHPUnit_Controller_Request_Http_Test * @return EcomDev_PHPUnit_Controller_Request_Http
*/ */
public function setIsSecure($flag = true) public function setIsSecure($flag = true)
{ {
...@@ -365,7 +365,7 @@ class EcomDev_PHPUnit_Controller_Request_Http ...@@ -365,7 +365,7 @@ class EcomDev_PHPUnit_Controller_Request_Http
/** /**
* Resets all request data for test * Resets all request data for test
* *
* @return EcomDev_PHPUnit_Controller_Request_Http_Test * @return EcomDev_PHPUnit_Controller_Request_Http
*/ */
public function reset() 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