From d22a14415204beb384bd80560236baa2c3627c48 Mon Sep 17 00:00:00 2001 From: Ricardo Arturo Cabral Date: Mon, 28 Oct 2013 22:41:07 -0400 Subject: [PATCH] Replaced array() with [] --- Cake/Cache/Engine/ApcEngine.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Cake/Cache/Engine/ApcEngine.php b/Cake/Cache/Engine/ApcEngine.php index 8117f715576..73f10180286 100644 --- a/Cake/Cache/Engine/ApcEngine.php +++ b/Cake/Cache/Engine/ApcEngine.php @@ -29,7 +29,7 @@ class ApcEngine extends CacheEngine { * * @var array */ - protected $_compiledGroupNames = array(); + protected $_compiledGroupNames = []; /** * Initialize the Cache Engine @@ -39,7 +39,7 @@ class ApcEngine extends CacheEngine { * @param array $settings array of setting for the engine * @return boolean True if the engine has been successfully initialized, false if not */ - public function init($settings = array()) { + public function init($settings = []) { if (!isset($settings['prefix'])) { $settings['prefix'] = Inflector::slug(APP_DIR) . '_'; } @@ -158,7 +158,7 @@ public function groups() { ksort($groups); } - $result = array(); + $result = []; $groups = array_values($groups); foreach ($this->settings['groups'] as $i => $group) { $result[] = $group . $groups[$i];