From 1e84c8901a8e29e6ec33860bc036fcff70526cf7 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Wed, 6 Jul 2011 13:40:34 -0700 Subject: [PATCH] Formatting Cache class. --- system/cache.php | 1 + 1 file changed, 1 insertion(+) diff --git a/system/cache.php b/system/cache.php index f3694b58..acf800b5 100644 --- a/system/cache.php +++ b/system/cache.php @@ -38,6 +38,7 @@ class Cache { // Passing method calls to the driver instance provides a better API for the // developer. For instance, instead of saying Cache::driver()->foo(), we can // now just say Cache::foo(). + return call_user_func_array(array(static::driver(), $method), $parameters); }