mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-08-30 12:45:32 +08:00
添加方法参数变量约束
This commit is contained in:
@@ -235,7 +235,7 @@ class Loader
|
||||
* @param array $options 模型参数
|
||||
* @return Model
|
||||
*/
|
||||
public static function table($name = '', $options = [])
|
||||
public static function table($name = '', array $options = [])
|
||||
{
|
||||
static $_model = [];
|
||||
if (strpos($name, ':')) {
|
||||
|
||||
Reference in New Issue
Block a user