* Revert and correct back to original function comment.

This commit is contained in:
dingguodong
2021-08-18 14:37:47 +08:00
parent f26c989ed2
commit 656aa6a447
+1 -1
View File
@@ -843,7 +843,7 @@ function getWebRoot($full = false)
/**
* 当数组/对象变量$var存在$key项时,返回存在的对应值或设定值,否则返回$key或不存在的设定值。
* When there is a $key in the array/object $var, it returns it or $valueWhenExists, otherwise returns $key or $valueWhenNone.
* When the $var has the $key, return it, else result one default value.
*
* @param array|object $var
* @param string|int $key