diff --git a/Tiny/Cache.php b/Tiny/Cache.php index dbd0316..0e9b349 100644 --- a/Tiny/Cache.php +++ b/Tiny/Cache.php @@ -122,8 +122,8 @@ public static function has($id) protected function _file($id) { $instance = self::getInstance(); - $fileNmae = $instance->_idToFileName($id); - return $instance->_options['cache_dir'] . $fileNmae; + $fileName = $instance->_idToFileName($id); + return $instance->_options['cache_dir'] . $fileName; } /** @@ -294,4 +294,4 @@ public static function flush() } return true; } -} \ No newline at end of file +}