mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 07:02:47 +08:00
改进一处 错误
This commit is contained in:
@@ -15,7 +15,10 @@ trait Instance
|
||||
{
|
||||
protected static $instance = null;
|
||||
|
||||
// 实例化(单例)
|
||||
/**
|
||||
* @param array $options
|
||||
* @return static
|
||||
*/
|
||||
public static function instance($options = [])
|
||||
{
|
||||
if (is_null(self::$instance)) {
|
||||
|
||||
Reference in New Issue
Block a user