update
This commit is contained in:
parent
c63ea6421c
commit
fbea1aaa94
@ -12,7 +12,7 @@ use phpQuery,Exception,ReflectionClass;
|
|||||||
* @author Jaeger
|
* @author Jaeger
|
||||||
* @email 734708094@qq.com
|
* @email 734708094@qq.com
|
||||||
* @link http://git.oschina.net/jae/QueryList
|
* @link http://git.oschina.net/jae/QueryList
|
||||||
* @version 3.1.1
|
* @version 3.1.2
|
||||||
*
|
*
|
||||||
* @example
|
* @example
|
||||||
*
|
*
|
||||||
@ -104,7 +104,7 @@ class QueryList
|
|||||||
public static function getInstance()
|
public static function getInstance()
|
||||||
{
|
{
|
||||||
$args = func_get_args();
|
$args = func_get_args();
|
||||||
count($args) || $args = array(self::class);
|
count($args) || $args = array('QL\QueryList');
|
||||||
$key = md5(serialize($args));
|
$key = md5(serialize($args));
|
||||||
$className = array_shift($args);
|
$className = array_shift($args);
|
||||||
if(!class_exists($className)) {
|
if(!class_exists($className)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user