Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add missing cookies property.
  • Loading branch information
markstory committed Nov 3, 2012
1 parent ed78fdd commit 52fd65d
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions lib/Cake/Network/Request.php
Expand Up @@ -39,7 +39,7 @@ class Request implements \ArrayAccess {
'plugin' => null,
'controller' => null,
'action' => null,
'pass' => array(),
'pass' => [],
);

/**
Expand All @@ -49,14 +49,21 @@ class Request implements \ArrayAccess {
*
* @var array
*/
public $data = array();
public $data = [];

/**
* Array of querystring arguments
*
* @var array
*/
public $query = array();
public $query = [];

/**
* Array of cookie data.
*
* @var array
*/
public $cookies = [];

/**
* The url string used for the request.
Expand Down

0 comments on commit 52fd65d

Please sign in to comment.