From 52fd65dea65f8ccc43d5a22a781fe81d7f4b7d35 Mon Sep 17 00:00:00 2001 From: mark_story Date: Sat, 3 Nov 2012 13:30:19 -0400 Subject: [PATCH] Add missing cookies property. --- lib/Cake/Network/Request.php | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/lib/Cake/Network/Request.php b/lib/Cake/Network/Request.php index 35088553112..b23e26dd750 100644 --- a/lib/Cake/Network/Request.php +++ b/lib/Cake/Network/Request.php @@ -39,7 +39,7 @@ class Request implements \ArrayAccess { 'plugin' => null, 'controller' => null, 'action' => null, - 'pass' => array(), + 'pass' => [], ); /** @@ -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.