@@ -33,7 +33,7 @@ final class SimpleCache implements CacheInterface
3333 */
3434 public function get ($ key , $ default = null )
3535 {
36- self ::validateKey ($ key );
36+ Item ::validateKey ($ key );
3737
3838 $ meta = $ this ->adapter ->getMetaData ($ key );
3939
@@ -62,7 +62,7 @@ public function get($key, $default = null)
6262 */
6363 public function set ($ key , $ value , $ ttl = null )
6464 {
65- self ::validateKey ($ key );
65+ Item ::validateKey ($ key );
6666
6767 // Get TTL as an integer (seconds)
6868 if (is_null ($ ttl ))
@@ -100,7 +100,7 @@ public function set($key, $value, $ttl = null)
100100 */
101101 public function delete ($ key )
102102 {
103- self ::validateKey ($ key );
103+ Item ::validateKey ($ key );
104104
105105 // Nonexistant keys return true
106106 if (! is_array ($ this ->adapter ->getMetaData ($ key )))
@@ -235,7 +235,7 @@ public function deleteMultiple($keys)
235235 */
236236 public function has ($ key )
237237 {
238- self ::validateKey ($ key );
238+ Item ::validateKey ($ key );
239239
240240 $ meta = $ this ->adapter ->getMetaData ($ key );
241241
0 commit comments