mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
改进代码
This commit is contained in:
@@ -22,7 +22,7 @@ class Cache
|
||||
* @var object
|
||||
* @access protected
|
||||
*/
|
||||
protected static $handler = null;
|
||||
protected static $handler;
|
||||
|
||||
/**
|
||||
* 连接缓存
|
||||
|
||||
@@ -22,7 +22,7 @@ class Controller
|
||||
use \traits\controller\Jump;
|
||||
|
||||
// 视图类实例
|
||||
protected $view = null;
|
||||
protected $view;
|
||||
// Request实例
|
||||
protected $request;
|
||||
// 验证失败是否抛出异常
|
||||
|
||||
@@ -52,7 +52,7 @@ class Template
|
||||
|
||||
private $literal = [];
|
||||
private $includeFile = []; // 记录所有模板包含的文件路径及更新时间
|
||||
protected $storage = null;
|
||||
protected $storage;
|
||||
|
||||
/**
|
||||
* 架构函数
|
||||
|
||||
@@ -18,7 +18,7 @@ use think\Request;
|
||||
class Validate
|
||||
{
|
||||
// 实例
|
||||
protected static $instance = null;
|
||||
protected static $instance;
|
||||
|
||||
// 自定义的验证类型
|
||||
protected static $type = [];
|
||||
|
||||
@@ -19,7 +19,7 @@ use think\Template;
|
||||
class Think
|
||||
{
|
||||
// 模板引擎实例
|
||||
private $template = null;
|
||||
private $template;
|
||||
// 模板引擎参数
|
||||
protected $config = [
|
||||
// 模板起始路径
|
||||
|
||||
Reference in New Issue
Block a user