mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 15:12:48 +08:00
修正Request类的baseUrl方法 修正Hook类的警告错误
This commit is contained in:
@@ -43,8 +43,9 @@ class Hook
|
||||
* @param boolean $recursive 是否递归合并
|
||||
* @return void
|
||||
*/
|
||||
public static function import(array $tags, $recursive = true)
|
||||
public static function import($tags, $recursive = true)
|
||||
{
|
||||
empty($tags) && $tags = [];
|
||||
if (!$recursive) {
|
||||
// 覆盖导入
|
||||
self::$tags = array_merge(self::$tags, $tags);
|
||||
|
||||
Reference in New Issue
Block a user