PSR规范调整

This commit is contained in:
thinkphp
2015-10-04 13:05:15 +08:00
parent 1cfb3704c6
commit 27e724bb3c
135 changed files with 9426 additions and 11556 deletions

View File

@@ -10,13 +10,16 @@
// +----------------------------------------------------------------------
namespace think\session\driver;
use SessionHandler;
class Driver extends SessionHandler {
protected $config = [];
class Driver extends SessionHandler
{
protected $config = [];
public function __construct($config=[]){
$this->config = array_merge($this->config,$config);
public function __construct($config = [])
{
$this->config = array_merge($this->config, $config);
}
}