fix:修复BUG/升级1.1.6版本

This commit is contained in:
Ying
2023-04-25 20:11:49 +08:00
parent 445e5f9662
commit 6a6866bbaf
2357 changed files with 456920 additions and 140567 deletions

View File

@@ -1,4 +1,5 @@
<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
@@ -15,7 +16,8 @@ namespace think;
class Facade
{
/**
* 始终创建新的对象实例
* 始终创建新的对象实例.
*
* @var bool
*/
protected static $alwaysNewInstance;
@@ -23,18 +25,21 @@ class Facade
protected static $instance;
/**
* 获取当前Facade对应类名
* @access protected
* 获取当前Facade对应类名.
*
* @return string
*/
protected static function getFacadeClass()
{}
{
}
/**
* 创建Facade实例
* 创建Facade实例.
*
* @static
* @access protected
* @param bool $newInstance 是否每次创建新的实例
*
* @param bool $newInstance 是否每次创建新的实例
*
* @return object
*/
protected static function createFacade(bool $newInstance = false)
@@ -54,7 +59,6 @@ class Facade
}
return self::$instance;
}
// 调用实际类的方法