From 5c63fa58e2aa8a913f9c3f49e9c78b7f12d2e5dc Mon Sep 17 00:00:00 2001 From: Chris Kankiewicz Date: Wed, 5 Oct 2016 17:45:11 -0700 Subject: [PATCH] Fixed: put() method on Cacheable interface has misspelled parameter; also gave it a default value --- src/Interfaces/Cacheable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Interfaces/Cacheable.php b/src/Interfaces/Cacheable.php index 5d2751b..7f246d1 100644 --- a/src/Interfaces/Cacheable.php +++ b/src/Interfaces/Cacheable.php @@ -13,7 +13,7 @@ interface Cacheable * * @return bool True on sucess, otherwise false */ - public function put($key, $data, $minute); + public function put($key, $data, $minutes = 0); /** * Put an item into the cache permanently