aboutsummaryrefslogtreecommitdiff
path: root/engine/classes/ElggLRUCache.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/classes/ElggLRUCache.php')
-rw-r--r--engine/classes/ElggLRUCache.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/classes/ElggLRUCache.php b/engine/classes/ElggLRUCache.php
index 90e63bb61..f51af2ed7 100644
--- a/engine/classes/ElggLRUCache.php
+++ b/engine/classes/ElggLRUCache.php
@@ -139,7 +139,7 @@ class ElggLRUCache implements ArrayAccess {
* @param mixed $value The value to set.
* @return void
*/
- function offsetSet($key, $value) {
+ public function offsetSet($key, $value) {
$this->set($key, $value);
}
@@ -151,7 +151,7 @@ class ElggLRUCache implements ArrayAccess {
* @param int|string $key The key to retrieve.
* @return mixed
*/
- function offsetGet($key) {
+ public function offsetGet($key) {
return $this->get($key);
}
@@ -163,7 +163,7 @@ class ElggLRUCache implements ArrayAccess {
* @param int|string $key The key to unset.
* @return void
*/
- function offsetUnset($key) {
+ public function offsetUnset($key) {
$this->remove($key);
}
@@ -175,7 +175,7 @@ class ElggLRUCache implements ArrayAccess {
* @param int|string $key A key to check for.
* @return boolean
*/
- function offsetExists($key) {
+ public function offsetExists($key) {
return $this->containsKey($key);
}
}