规范代码

This commit is contained in:
thinkphp
2016-12-24 21:37:05 +08:00
parent 81bde424be
commit 43b364e286
45 changed files with 106 additions and 195 deletions

View File

@@ -105,7 +105,7 @@ abstract class Driver
$this->rm($name);
return $result;
} else {
return null;
return;
}
}

View File

@@ -12,7 +12,6 @@
namespace think\cache\driver;
use think\cache\Driver;
use think\Exception;
class Memcache extends Driver
{

View File

@@ -12,7 +12,6 @@
namespace think\cache\driver;
use think\cache\Driver;
use think\Exception;
/**
* Sqlite缓存驱动

View File

@@ -12,7 +12,6 @@
namespace think\cache\driver;
use think\cache\Driver;
use think\Exception;
/**
* Wincache缓存驱动
@@ -28,7 +27,7 @@ class Wincache extends Driver
/**
* 架构函数
* @param array $options 缓存参数
* @throws Exception
* @throws \BadFunctionCallException
* @access public
*/
public function __construct($options = [])

View File

@@ -12,7 +12,6 @@
namespace think\cache\driver;
use think\cache\Driver;
use think\Exception;
/**
* Xcache缓存驱动