Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
EcomDev_PHPUnit
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Open
EcomDev_PHPUnit
Commits
70045930
Commit
70045930
authored
Nov 12, 2012
by
Steve Rice
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed return type in PHPDoc for HTTP request controller methods
parent
226f4127
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
16 deletions
+16
-16
app/code/community/EcomDev/PHPUnit/Controller/Request/Http.php
...ode/community/EcomDev/PHPUnit/Controller/Request/Http.php
+16
-16
No files found.
app/code/community/EcomDev/PHPUnit/Controller/Request/Http.php
View file @
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
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment