mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 20:52:48 +08:00
改进Validate类的静态调用
This commit is contained in:
@@ -1255,7 +1255,7 @@ class Validate
|
||||
|
||||
public static function __callStatic($method, $params)
|
||||
{
|
||||
$class = new static;
|
||||
$class = self::make();
|
||||
if (method_exists($class, $method)) {
|
||||
return call_user_func_array([$class, $method], $params);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user